DataType
class DataType extends Component (View source)
Parses a data type.
Properties
static array | $DATA_TYPE_OPTIONS | All data type options. | |
string | $name | The name of the data type. | |
array | $parameters | The parameters of this data type. | |
OptionsArray | $options | The options of this data type. |
Methods
static mixed
static mixed
build(mixed $component, array $options = [])
No description
__construct(string $name = null, array $parameters = [], OptionsArray $options = null)
No description
Details
static mixed
parse(Parser $parser, TokensList $list, array $options = [])
static mixed
build(mixed $component, array $options = [])
string
__toString()
Builds the string representation of a component of this type.