LessThanValidator

class LessThanValidator extends AbstractComparisonValidator Validates values are less 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 passed

RequestValueResolver::resolve()

Generator resolve(Request $request, ArgumentMetadata $argument) Returns the possible value(s). Parameters Request $request ArgumentMetadata $argument Return Value Generator

MutableAclInterface::insertObjectFieldAce()

insertObjectFieldAce(string $field, SecurityIdentityInterface $sid, int $mask, int $index, bool $granting = true, string $strategy = null) Inserts an object-field-based ACE Parameters string $field SecurityIdentityInterface $sid int $mask int $index bool $granting string $strategy

ExecutableFinder::setSuffixes()

setSuffixes(array $suffixes) Replaces default suffixes of executable. Parameters array $suffixes

SqliteProfilerStorage deprecated

class SqliteProfilerStorage extends PdoProfilerStorage deprecated Deprecated since Symfony 2.8, to be removed in Symfony 3.0. Use {@link FileProfilerStorage} instead. SqliteProfilerStorage stores profiling information in a SQLite database. Methods __construct(string $dsn, string $username = '', string $password = '', int $lifetime = 86400) Constructor. from PdoProfilerStorage array find(string $ip, string $url, string $limit, string $method, int|null $start = null, int|null $end

CoreAssetsHelper deprecated::addPackage()

addPackage(string $name, PackageInterface $package) Adds an asset package to the helper. Parameters string $name The package name PackageInterface $package The package

FileinfoMimeTypeGuesser::guess()

string guess(string $path) Guesses the mime type of the file with the given path. Parameters string $path The path to the file Return Value string The mime type or NULL, if none could be guessed Exceptions FileNotFoundException If the file does not exist AccessDeniedException If the file could not be read

Filesystem::chown()

chown(string|array|Traversable $files, string $user, bool $recursive = false) Change the owner of an array of files or directories. Parameters string|array|Traversable $files A filename, an array of files, or a \Traversable instance to change owner string $user The new owner user name bool $recursive Whether change the owner recursively or not Exceptions IOException When the change fail

YearTransformer

class YearTransformer extends Transformer Parser and formatter for year format. Methods string format(DateTime $dateTime, int $length) Format a value using a configured DateTime as date/time source. string getReverseMatchingRegExp(int $length) Returns a reverse matching regular expression of a string generated by format(). array extractDateOptions(string $matched, int $length) Extract date options from a matched value returned by the processing of the reverse matching regular e

YamlLintCommand

class YamlLintCommand extends Command Validates YAML files syntax and outputs encountered errors. Methods __construct(string|null $name = null) Constructor. from Command ignoreValidationErrors() Ignores validation errors. from Command setApplication(Application $application = null) Sets the application instance for this command. from Command setHelperSet(HelperSet $helperSet) Sets the helper set. from Command HelperSet getHelperSet() Gets the helper set. from Command Ap