KernelInterface::getRootDir()

string getRootDir() Gets the application root dir. Return Value string The application root dir

Type::getClassName()

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

GenericEvent::getArgument()

mixed getArgument(string $key) Get argument by key. Parameters string $key Key Return Value mixed Contents of array key Exceptions InvalidArgumentException If key is not found.

JsonSerializableNormalizer::supportsNormalization()

bool supportsNormalization(mixed $data, string $format = null) Checks whether the given class is supported for normalization by this normalizer. Parameters mixed $data Data to normalize. string $format The format being (de-)serialized from or into. Return Value bool

ChainEncoder

class ChainEncoder implements EncoderInterface Encoder delegating the decoding to a chain of encoders. Methods __construct(array $encoders = array()) scalar encode(mixed $data, string $format, array $context = array()) Encodes data into the given format. bool supportsEncoding(string $format) Checks whether the serializer can encode to given format. bool needsNormalization(string $format) Checks whether the normalization is needed for the given format. Details

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

DateTimeType::configureOptions()

configureOptions(OptionsResolver $resolver) Configures the options for this type. Parameters OptionsResolver $resolver The resolver for the options

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

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

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