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)
class TypeTestCase extends FormIntegrationTestCase Methods static assertDateTimeEquals(DateTime $expected, DateTime $actual) Details static assertDateTimeEquals(DateTime $expected, DateTime $actual) Parameters DateTime $expected DateTime $actual
string getType() Returns the guessed field type. Return Value string
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
array getOptions() Returns the guessed options for creating instances of the guessed type. Return Value array
bool isNullable() Allows null value? Return Value bool
bool isCollection() Is collection? Return Value bool
string|null getClassName() Gets the class name. Only applicable if the built-in type is object. Return Value string|null
string getBuiltinType() Gets built-in type. Can be bool, int, float, string, array, object, resource, null or callback. Return Value string
string getDefaultOption() Returns the name of the default option. Override this method to define a default option. Return Value string
Page 40 of 787