ControllerNameParser::build()

string build(string $controller) Converts a class::method notation to a short one (a:b:c). Parameters string $controller A string in the class::method notation Return Value string A short notation controller (a:b:c) Exceptions InvalidArgumentException when the controller is not valid or cannot be found in any bundle

MockArraySessionStorage::regenerate()

bool regenerate(bool $destroy = false, int $lifetime = null) Regenerates id that represents this storage. This method must invoke sessionregenerateid($destroy) unless this interface is used for a storage object designed for unit or functional testing where a real PHP session would interfere with testing. Note regenerate+destroy should not clear the session data in memory only delete the session data from persistent storage. Care: When regenerating the session ID no locking is inv

SimpleAuthenticationProvider::supports()

bool supports(TokenInterface $token) Checks whether this provider supports the given token. Parameters TokenInterface $token A TokenInterface instance Return Value bool true if the implementation supports the Token, false otherwise

LessThanOrEqualValidator

class LessThanOrEqualValidator extends AbstractComparisonValidator Validates values are less than or equal to 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)

Component\Form\Extension\Core\EventListener

Classes FixCheckboxInputListener Takes care of converting the input from a list of checkboxes to a correctly indexed array. FixRadioInputListener Takes care of converting the input from a single radio button to an array. FixUrlProtocolListener Adds a protocol to a URL if it doesn't already have one. MergeCollectionListener ResizeFormListener Resize a collection form element based on the data sent from the client. TrimListener Trims string data

Bridge\Doctrine\Form

Namespaces Symfony\Bridge\Doctrine\Form\ChoiceListSymfony\Bridge\Doctrine\Form\DataTransformerSymfony\Bridge\Doctrine\Form\EventListenerSymfony\Bridge\Doctrine\Form\Type Classes DoctrineOrmExtension DoctrineOrmTypeGuesser

NativeSessionStorage::getSaveHandler()

AbstractProxy getSaveHandler() Gets the save handler instance. Return Value AbstractProxy

DefaultTranslator deprecated::transChoice()

string transChoice(string $id, int $number, array $parameters = array(), string|null $domain = null, string|null $locale = null) Interpolates the given choice message by choosing a variant according to a number. The variants are passed in the message ID using the format "|". "" is chosen if the passed $number is exactly 1. "" is chosen otherwise. This format is consistent with the format supported by {@link \Symfony\Component\Translation\Translator}, but it does not have the same

MutableAclProviderInterface::updateAcl()

updateAcl(MutableAclInterface $acl) Persists any changes which were made to the ACL, or any associated access control entries. Changes to parent ACLs are not persisted. Parameters MutableAclInterface $acl

HandlerInterface

interface HandlerInterface CSS selector handler interface. This component is a port of the Python cssselect library, which is copyright Ian Bicking, see https://github.com/SimonSapin/cssselect. Methods bool handle(Reader $reader, TokenStream $stream) Details bool handle(Reader $reader, TokenStream $stream) Parameters Reader $reader TokenStream $stream Return Value bool