SecurityIdentityRetrievalStrategy

class SecurityIdentityRetrievalStrategy implements SecurityIdentityRetrievalStrategyInterface Strategy for retrieving security identities Methods __construct(RoleHierarchyInterface $roleHierarchy, AuthenticationTrustResolver $authenticationTrustResolver) Constructor SecurityIdentityInterface[] getSecurityIdentities(TokenInterface $token) Retrieves the available security identities for the given token Details __construct(RoleHierarchyInterface $roleHi

DebugAccessDecisionManager::decide()

bool decide(TokenInterface $token, array $attributes, object $object = null) Decides whether the access is possible or not. Parameters TokenInterface $token A TokenInterface instance array $attributes An array of attributes associated with the method being invoked object $object The object to secure Return Value bool true if the access is granted, false otherwise

Hour2400Transformer::format()

string format(DateTime $dateTime, int $length) Format a value using a configured DateTime as date/time source. Parameters DateTime $dateTime A DateTime object to be used to generate the formatted value int $length The formatted value string length Return Value string The formatted value

CurrencyBundleInterface::getCurrencySymbol()

string|null getCurrencySymbol(string $currency, string $displayLocale = null) Returns the symbol used for a currency. Parameters string $currency A currency code (e.g. "EUR") string $displayLocale Optional. The locale to return the result in Defaults to {@link \Locale::getDefault()}. Return Value string|null The currency symbol or NULL if not found

NodeDefinition::setParent()

NodeDefinition|$this setParent(NodeParentInterface $parent) Sets the parent node. Parameters NodeParentInterface $parent The parent Return Value NodeDefinition|$this

TimeValidator::validate()

validate(mixed $value, Constraint $constraint) Checks if the passed value is valid. Parameters mixed $value The value that should be validated Constraint $constraint The constraint for the validation

UserInterface::getRoles()

(Role|string)[] getRoles() Returns the roles granted to the user. public function getRoles() { return array('ROLE_USER'); } Alternatively, the roles might be stored on a roles property, and populated in any number of different ways when the user object is created. Return Value (Role|string)[] The user roles

InMemoryTokenProvider::updateToken()

updateToken(string $series, string $tokenValue, DateTime $lastUsed) Updates the token according to this data. Parameters string $series string $tokenValue DateTime $lastUsed Exceptions TokenNotFoundException if the token is not found

Process::stop()

int stop(int|float $timeout = 10, int $signal = null) Stops the process. Parameters int|float $timeout The timeout in seconds int $signal A POSIX signal to send in case the process has not stop at timeout, default is SIGKILL (9) Return Value int The exit-code of the process

Bridge\Twig\Node

Classes FormEnctypeNode deprecated FormThemeNode RenderBlockNode Compiles a call to {@link FormRendererInterface::renderBlock()}. SearchAndRenderBlockNode TransDefaultDomainNode TransNode