Component\PropertyAccess\Exception

Classes InvalidPropertyPathException Thrown when a property path is malformed. NoSuchPropertyException Thrown when a property cannot be found. OutOfBoundsException Base OutOfBoundsException for the PropertyAccess component. RuntimeException Base RuntimeException for the PropertyAccess component. UnexpectedTypeException Thrown when a value does not match an expected type. Interfaces ExceptionInterface Marker interface for the PropertyAccess component.

SymfonyStyle::writeln()

writeln(string|array $messages, $type = self::OUTPUT_NORMAL) Writes a message to the output and adds a newline at the end. Parameters string|array $messages The message as an array of lines of a single string $type

FormConfigBuilder::getModelTransformers()

DataTransformerInterface[] getModelTransformers() Returns the model transformers of the form. Return Value DataTransformerInterface[] An array of {@link DataTransformerInterface} instances

YearTransformer deprecated

class YearTransformer extends YearTransformer deprecated since version 2.3, to be removed in 3.0. Use {@link \Symfony\Component\Intl\DateFormatter\DateFormat\YearTransformer} instead. Alias of {@link \Symfony\Component\Intl\DateFormatter\DateFormat\YearTransformer}. Methods string format(DateTime $dateTime, int $length) Format a value using a configured DateTime as date/time source. from YearTransformer string getReverseMatchingRegExp(int $length) Returns a reverse matching regul

ButtonBuilder::addEventListener()

FormConfigBuilderInterface addEventListener(string $eventName, callable $listener, int $priority) Unsupported method. This method should not be invoked. Parameters string $eventName The name of the event to listen to callable $listener The listener to execute int $priority The priority of the listener. Listeners with a higher priority are called before listeners with a lower priority. Return Value FormConfigBuilderInterface The configuration object Exceptions BadMethodCallExce

JsonEncoder

class JsonEncoder implements EncoderInterface, DecoderInterface Encodes JSON data. Constants FORMAT Methods __construct(JsonEncode $encodingImpl = null, JsonDecode $decodingImpl = null) scalar encode(mixed $data, string $format, array $context = array()) Encodes data into the given format. mixed decode(string $data, string $format, array $context = array()) Decodes a string into PHP data. bool supportsEncoding(string $format) Checks whether the serializer can encode

Command::setDescription()

Command setDescription(string $description) Sets the description for the command. Parameters string $description The description for the command Return Value Command The current instance

FieldEntryInterface

interface FieldEntryInterface implements EntryInterface Interface for entries which are restricted to specific fields Methods AclInterface getAcl() The ACL this ACE is associated with. from EntryInterface integer getId() The primary key of this ACE from EntryInterface integer getMask() The permission mask of this ACE from EntryInterface SecurityIdentityInterface getSecurityIdentity() The security identity associated with this ACE from EntryInterface string getStrategy() T

Token::isWhitespace()

bool isWhitespace() Return Value bool

KernelInterface::getContainer()

ContainerInterface getContainer() Gets the current container. Return Value ContainerInterface A ContainerInterface instance