DateTimeToTimestampTransformer::reverseTransform()

mixed reverseTransform(mixed $value) Transforms a timestamp in the configured timezone into a DateTime object. Parameters mixed $value The value in the transformed representation Return Value mixed The value in the original representation Exceptions TransformationFailedException If the given value is not a timestamp or if the given timestamp is invalid

Store::write()

string write(Request $request, Response $response) Writes a cache entry to the store for the given Request and Response. Existing entries are read and any that match the response are removed. This method calls write with the new list of cache entries. Parameters Request $request A Request instance Response $response A Response instance Return Value string The key under which the response is stored Exceptions RuntimeException

ProcessPipes::write()

write(Boolean $blocking, string|null $stdin) Writes stdin data. Parameters Boolean $blocking Whether to use blocking calls or not. string|null $stdin The data to write.

ContainerBuilder::findDefinition()

Definition findDefinition(string $id) Gets a service definition by id or alias. The method "unaliases" recursively to return a Definition instance. Parameters string $id The service identifier or alias Return Value Definition A Definition instance Exceptions ServiceNotFoundException if the service definition does not exist

FormTypeValidatorExtension::buildForm()

buildForm(FormBuilderInterface $builder, array $options) Builds the form. This method is called after the extended type has built the form to further modify it. Parameters FormBuilderInterface $builder The form builder array $options The options

Bridge\Doctrine\Security

Namespaces Symfony\Bridge\Doctrine\Security\RememberMeSymfony\Bridge\Doctrine\Security\User

ConstraintViolationBuilder::setPlural()

ConstraintViolationBuilderInterface setPlural(int $number) Sets the number which determines how the plural form of the violation message is chosen when it is translated. Parameters int $number The number for determining the plural form Return Value ConstraintViolationBuilderInterface This builder

CustomNormalizer::normalize()

array|scalar normalize(object $object, string $format = null, array $context = array()) Normalizes an object into a set of arrays/scalars. Parameters object $object object to normalize string $format format the normalization result will be encoded as array $context Context options for the normalizer Return Value array|scalar

AbstractNormalizer

class AbstractNormalizer extends SerializerAwareNormalizer implements NormalizerInterface, DenormalizerInterface, SerializerAwareInterface Normalizer implementation. Traits SerializerAwareTrait SerializerAware trait. Constants CIRCULAR_REFERENCE_LIMIT OBJECT_TO_POPULATE GROUPS Methods setSerializer(SerializerInterface $serializer) Sets the serializer. from SerializerAwareTrait __construct(ClassMetadataFactoryInterface $classMetadataFactory = null, NameConverterInt

Application::setCatchExceptions()

setCatchExceptions(bool $boolean) Sets whether to catch exceptions or not during commands execution. Parameters bool $boolean Whether to catch exceptions or not during commands execution