CachingFactoryDecorator::createView()

ChoiceListView createView(ChoiceListInterface $list, null|array|callable $preferredChoices = null, null|callable $label = null, null|callable $index = null, null|callable $groupBy = null, null|array|callable $attr = null) Creates a view for the given choice list. Callables may be passed for all optional arguments. The callables receive the choice as first and the array key as the second argument. The callable for the label and the name should return the generated label/choice na

Component\Validator

Namespaces Symfony\Component\Validator\ConstraintsSymfony\Component\Validator\ExceptionSymfony\Component\Validator\Mapping Classes Constraint Contains the properties of a constraint definition. ConstraintValidator Base class for constraint validators ConstraintValidatorFactory Default implementation of the ConstraintValidatorFactoryInterface. ConstraintViolation Default implementation of {@ConstraintViolationInterface}. ConstraintViolationList Default implementation of {@Co

ReversedTransformer::reverseTransform()

mixed reverseTransform(mixed $value) Transforms a value from the transformed representation to its original representation. This method is called when {@link Form::submit()} is called to transform the requests tainted data into an acceptable format for your data processing/model layer. This method must be able to deal with empty values. Usually this will be an empty string, but depending on your implementation other empty values are possible as well (such as empty strings). The r

MessageDigestPasswordEncoder

class MessageDigestPasswordEncoder extends BasePasswordEncoder MessageDigestPasswordEncoder uses a message digest algorithm. Constants MAX_PASSWORD_LENGTH Methods __construct(string $algorithm = 'sha512', bool $encodeHashAsBase64 = true, int $iterations = 5000) Constructor. string encodePassword(string $raw, string $salt) Encodes the raw password. bool isPasswordValid(string $encoded, string $raw, string $salt) Checks a raw password against an encoded password. Detail

Adapter::getEntryManager()

EntryManagerInterface getEntryManager() Fetches the entry manager instance. Return Value EntryManagerInterface

Table::setColumnStyle()

Table setColumnStyle(int $columnIndex, TableStyle|string $name) Sets table column style. Parameters int $columnIndex Column index TableStyle|string $name The style name or a TableStyle instance Return Value Table

ClassNotFoundFatalErrorHandler

class ClassNotFoundFatalErrorHandler implements FatalErrorHandlerInterface ErrorHandler for classes that do not exist. Methods FatalErrorException|null handleError(array $error, FatalErrorException $exception) Attempts to convert an error into an exception. Details FatalErrorException|null handleError(array $error, FatalErrorException $exception) Attempts to convert an error into an exception. Parameters array $error An array as returned by e

AccessDeniedException

class AccessDeniedException extends FileException Thrown when the access on a file was denied. Methods __construct(string $path) Constructor. Details __construct(string $path) Constructor. Parameters string $path The path to the accessed file

Helper::formatTime()

static formatTime($secs) Parameters $secs

ChoiceList deprecated::getChoicesForValues()

array getChoicesForValues(array $values) Returns the choices corresponding to the given values. The choices can have any data type. The choices must be returned with the same keys and in the same order as the corresponding values in the given array. Parameters array $values An array of choice values. Not existing values in this array are ignored Return Value array An array of choices with ascending, 0-based numeric keys