PropelTypeGuesser::guessType()

TypeGuess|null guessType(string $class, string $property) Returns a field guess for a property name of a class Parameters string $class The fully qualified class name string $property The name of the property to guess for Return Value TypeGuess|null A guess for the field's type and options

ConstraintValidatorInterface::initialize()

initialize(ExecutionContextInterface $context) Initializes the constraint validator. Parameters ExecutionContextInterface $context The current validation context

Input::getOption()

mixed getOption(string $name) Returns the option value for a given option name. Parameters string $name The option name Return Value mixed The option value Exceptions InvalidArgumentException When option given doesn't exist

StopwatchPeriod

class StopwatchPeriod Represents an Period for an Event. Methods __construct(int $start, int $end) Constructor. int getStartTime() Gets the relative time of the start of the period. int getEndTime() Gets the relative time of the end of the period. int getDuration() Gets the time spent in this period. int getMemory() Gets the memory usage. Details __construct(int $start, int $end) Constructor. Parameters int $start The rel

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

AttributeNode::getAttribute()

string getAttribute() Return Value string

FormDataCollectorInterface::collectSubmittedData()

collectSubmittedData(FormInterface $form) Stores the submitted data of the given form and its children. Parameters FormInterface $form A root form

DateTimeToLocalizedStringTransformer::transform()

mixed transform(DateTimeInterface $dateTime) Transforms a normalized date into a localized date string/array. Parameters DateTimeInterface $dateTime A DateTimeInterface object Return Value mixed The value in the transformed representation Exceptions TransformationFailedException If the given value is not a \DateTimeInterface or if the date could not be transformed.

LengthValidator

class LengthValidator extends ConstraintValidator Constants PRETTY_DATE Whether to format {@link \DateTime} objects as RFC-3339 dates ("Y-m-d H:i:s"). OBJECT_TO_STRING Whether to cast objects with a "__toString()" method to strings. Methods initialize(ExecutionContextInterface $context) Initializes the constraint validator. from ConstraintValidator validate(mixed $value, Constraint $constraint) Checks if the passed value is valid. Details initia

LocaleListener::onKernelFinishRequest()

onKernelFinishRequest(FinishRequestEvent $event) Parameters FinishRequestEvent $event