Parser

class Parser Parsers a token stream. This parser implements a "Precedence climbing" algorithm. Constants OPERATOR_LEFT OPERATOR_RIGHT Methods __construct(array $functions) Node parse(TokenStream $stream, array $names = array()) Converts a token stream to a node tree. parseExpression($precedence) parsePrimaryExpression() parseArrayExpression() parseHashExpression() parsePostfixExpression($node) parseArguments() Parses arguments. Detai

Component\CssSelector\Parser\Shortcut

Classes ClassParser CSS selector class parser shortcut. ElementParser CSS selector element parser shortcut. EmptyStringParser CSS selector class parser shortcut. HashParser CSS selector hash parser shortcut.

SplCaster::castOuterIterator()

static castOuterIterator(OuterIterator $c, array $a, Stub $stub, $isNested) Parameters OuterIterator $c array $a Stub $stub $isNested

PropelTypeGuesser::guessRequired()

ValueGuess guessRequired(string $class, string $property) Returns a guess whether a property of a class is required Parameters string $class The fully qualified class name string $property The name of the property to guess for Return Value ValueGuess A guess for the field's required setting

PropertyAccessDecorator::createListFromChoices()

ChoiceListInterface createListFromChoices(array|Traversable $choices, null|callable $value = null) Creates a choice list for the given choices. The choices should be passed in the values of the choices array. Optionally, a callable can be passed for generating the choice values. The callable receives the choice as first and the array key as the second argument. Parameters array|Traversable $choices The choices null|callable $value The callable generating the choice values Ret

DoctrineType::createChoiceLabel()

static string createChoiceLabel(object $choice) Creates the label for a choice. For backwards compatibility, objects are cast to strings by default. Parameters object $choice The object Return Value string The string representation of the object

PropertyAccessDecorator::createListFromLoader()

ChoiceListInterface createListFromLoader(ChoiceLoaderInterface $loader, null|callable $value = null) Creates a choice list that is loaded with the given loader. Optionally, a callable can be passed for generating the choice values. The callable receives the choice as first and the array key as the second argument. Parameters ChoiceLoaderInterface $loader The choice loader null|callable $value The callable generating the choice values Return Value ChoiceListInterface The choice

User::isAccountNonLocked()

bool isAccountNonLocked() Checks whether the user is locked. Internally, if this method returns false, the authentication system will throw a LockedException and prevent login. Return Value bool true if the user is not locked, false otherwise

IntegerType::getBlockPrefix()

string getBlockPrefix() Returns the prefix of the template block name for this type. The block prefix defaults to the underscored short class name with the "Type" suffix removed (e.g. "UserProfileType" => "user_profile"). Return Value string The prefix of the template block name

PropertyNormalizer::supportsDenormalization()

bool supportsDenormalization(mixed $data, string $type, string $format = null) Checks whether the given class is supported for denormalization by this normalizer. Parameters mixed $data Data to denormalize from. string $type The class to which the data should be denormalized. string $format The format being deserialized from. Return Value bool