ValidDataTypesTrait
trait ValidDataTypesTrait (View source)
Provides a default implementation of isValidDataType.
Users of this trait are expected to implement ValidDataTypesInterface.
Methods
validDataTypes()
Return the list of data types acceptable to this formatter
isValidDataType(ReflectionClass $dataType)
Return the list of data types acceptable to this formatter
Details
abstract ReflectionClass[]
validDataTypes()
Return the list of data types acceptable to this formatter
isValidDataType(ReflectionClass $dataType)
Return the list of data types acceptable to this formatter