UnaryNode

class UnaryNode extends Node Properties $nodes from Node $attributes from Node Methods __construct($operator, Node $node) Constructor. __toString() from Node compile(Compiler $compiler) evaluate($functions, $values) Details __construct($operator, Node $node) Constructor. Parameters $operator Node $node __toString() compile(Compiler $compiler)

TypeTestCase

class TypeTestCase extends FormIntegrationTestCase Methods static assertDateTimeEquals(DateTime $expected, DateTime $actual) Details static assertDateTimeEquals(DateTime $expected, DateTime $actual) Parameters DateTime $expected DateTime $actual

TypeGuess::getType()

string getType() Returns the guessed field type. Return Value string

TypeGuess

class TypeGuess extends Guess Contains a guessed class name and a list of options for creating an instance of that class. Constants VERY_HIGH_CONFIDENCE Marks an instance with a value that is extremely likely to be correct. HIGH_CONFIDENCE Marks an instance with a value that is very likely to be correct. MEDIUM_CONFIDENCE Marks an instance with a value that is likely to be correct. LOW_CONFIDENCE Marks an instance with a value that may be correct. Methods static Guess|null

TypeGuess::getOptions()

array getOptions() Returns the guessed options for creating instances of the guessed type. Return Value array

Type::isNullable()

bool isNullable() Allows null value? Return Value bool

Type::isCollection()

bool isCollection() Is collection? Return Value bool

Type::getClassName()

string|null getClassName() Gets the class name. Only applicable if the built-in type is object. Return Value string|null

Type::getBuiltinType()

string getBuiltinType() Gets built-in type. Can be bool, int, float, string, array, object, resource, null or callback. Return Value string

Type::getDefaultOption()

string getDefaultOption() Returns the name of the default option. Override this method to define a default option. Return Value string