InputDefinition::hasShortcut()

bool hasShortcut(string $name) Returns true if an InputOption object exists by shortcut. Parameters string $name The InputOption shortcut Return Value bool true if the InputOption object exists, false otherwise

OutputFormatterStyleInterface::apply()

string apply(string $text) Applies the style to a given text. Parameters string $text The text to style Return Value string

Component\VarDumper

Namespaces Symfony\Component\VarDumper\CasterSymfony\Component\VarDumper\ClonerSymfony\Component\VarDumper\DumperSymfony\Component\VarDumper\Exception Classes VarDumper

CustomNormalizer::supportsNormalization()

bool supportsNormalization(mixed $data, string $format = null) Checks if the given class implements the NormalizableInterface. Parameters mixed $data Data to normalize string $format The format being (de-)serialized from or into Return Value bool

DoctrineType::buildForm()

buildForm(FormBuilderInterface $builder, array $options) Builds the form. This method is called for each type in the hierarchy starting from the top most type. Type extensions can further modify the form. Parameters FormBuilderInterface $builder The form builder array $options The options

DataUriNormalizer::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

RequestContext::getMethod()

string getMethod() Gets the HTTP method. The method is always an uppercased string. Return Value string The HTTP method

Section::getEvents()

StopwatchEvent[] getEvents() Returns the events from this section. Return Value StopwatchEvent[] An array of StopwatchEvent instances

Command::addUsage()

Command addUsage(string $usage) Add a command usage example. Parameters string $usage The usage, it'll be prefixed with the command name Return Value Command The current instance

Cookie::getExpiresTime()

int getExpiresTime() Gets the time the cookie expires. Return Value int