Process::setWorkingDirectory()

Process setWorkingDirectory(string $cwd) Sets the current working directory. Parameters string $cwd The new working directory Return Value Process The current Process instance

NodeDefinition::beforeNormalization()

ExprBuilder beforeNormalization() Sets an expression to run before the normalization. Return Value ExprBuilder

TimeValidator

class TimeValidator 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. PATTERN Methods initialize(ExecutionContextInterface $context) Initializes the constraint validator. from ConstraintValidator static bool checkTime(int $hour, int $minute, int $second) Checks whether a time is valid. validate(mixed $value, Co

GreaterThanValidator

class GreaterThanValidator extends AbstractComparisonValidator Validates values are greater than the previous (>). 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

Psr6Cache::read()

ClassMetadata|false read(string $class) Returns the metadata for the given class from the cache. Parameters string $class Class Name Return Value ClassMetadata|false A ClassMetadata instance or false on miss

UserPasswordEncoderInterface::encodePassword()

string encodePassword(UserInterface $user, string $plainPassword) Encodes the plain password. Parameters UserInterface $user The user string $plainPassword The password to encode Return Value string The encoded password

ArrayAccessibleResourceBundle::offsetUnset()

offsetUnset($offset) Parameters $offset

Translator::registerParserShortcut()

Translator registerParserShortcut(ParserInterface $shortcut) Registers a shortcut parser. Parameters ParserInterface $shortcut Return Value Translator

FixUrlProtocolListener::onSubmit()

onSubmit(FormEvent $event) Parameters FormEvent $event

JsonSerializableNormalizer::normalize()

array|string|bool|int|float|null 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|string|bool|int|float|null