PermissionGrantingStrategyInterface::isFieldGranted()

bool isFieldGranted(AclInterface $acl, string $field, array $masks, array $sids, bool $administrativeMode = false) Determines whether access to a domain object's field is to be granted Parameters AclInterface $acl string $field array $masks array $sids bool $administrativeMode Return Value bool

ValidatorBuilder::setTranslator()

ValidatorBuilderInterface setTranslator(TranslatorInterface $translator) Sets the translator used for translating violation messages. Parameters TranslatorInterface $translator The translator instance Return Value ValidatorBuilderInterface The builder object

Bundle\FrameworkBundle\CacheWarmer

Classes RouterCacheWarmer Generates the router matcher and generator classes. TemplateFinder Finds all the templates. TemplatePathsCacheWarmer Computes the association between template names and their paths on the disk. Interfaces TemplateFinderInterface Interface for finding all the templates.

Route::setMethods()

Route setMethods(string|array $methods) Sets the HTTP methods (e.g. 'POST') this route is restricted to. So an empty array means that any method is allowed. This method implements a fluent interface. Parameters string|array $methods The method or an array of methods Return Value Route The current Route instance

HelperSet

class HelperSet implements IteratorAggregate HelperSet represents a set of helpers to be used with a command. Methods __construct(array $helpers = array()) Constructor. set(HelperInterface $helper, string $alias = null) Sets a helper. bool has(string $name) Returns true if the helper if defined. HelperInterface get(string $name) Gets a helper value. setCommand(Command $command = null) Sets the command associated with this helper set. Command getCommand() Gets the

RegisterListenersPass deprecated

class RegisterListenersPass extends RegisterListenersPass deprecated since version 2.5, to be removed in 3.0. Use the Symfony\Component\EventDispatcher\DependencyInjection\RegisterListenersPass class instead. Compiler pass to register tagged services for an event dispatcher. Methods __construct(string $dispatcherService = 'event_dispatcher', string $listenerTag = 'kernel.event_listener', string $subscriberTag = 'kernel.event_subscriber') Constructor. from RegisterListenersPass pr

Definition::setShared()

Definition setShared(bool $shared) Sets if the service must be shared or not. Parameters bool $shared Whether the service must be shared or not Return Value Definition The current instance

Hour2400Transformer::extractDateOptions()

array extractDateOptions(string $matched, int $length) Extract date options from a matched value returned by the processing of the reverse matching regular expression. Parameters string $matched The matched value int $length The length of the Transformer pattern string Return Value array An associative array

PoFileLoader

class PoFileLoader extends FileLoader Methods MessageCatalogue load(mixed $resource, string $locale, string $domain = 'messages') Loads a locale. from FileLoader Details MessageCatalogue load(mixed $resource, string $locale, string $domain = 'messages') Loads a locale. Parameters mixed $resource A resource string $locale A locale string $domain The domain Return Value MessageCatalogue A MessageCatalogue instance Exceptions NotFoundResourceExcept

AuthenticationTrustResolverInterface::isAnonymous()

bool isAnonymous(TokenInterface $token = null) Resolves whether the passed token implementation is authenticated anonymously. If null is passed, the method must return false. Parameters TokenInterface $token Return Value bool