PermissionMapInterface

interface PermissionMapInterface This is the interface that must be implemented by permission maps. Methods array getMasks(string $permission, object $object) Returns an array of bitmasks. bool contains(string $permission) Whether this map contains the given permission Details array getMasks(string $permission, object $object) Returns an array of bitmasks. The security identity must have been granted access to at least one of these bitmask

AbstractToken::getRoles()

RoleInterface[] getRoles() Returns the user roles. Return Value RoleInterface[] An array of RoleInterface instances.

ProgressBar::getMaxSteps()

int getMaxSteps() Gets the progress bar maximal steps. Return Value int The progress bar max steps

ExceptionHandler

class ExceptionHandler ExceptionHandler converts an exception to a Response object. It is mostly useful in debug mode to replace the default PHP/XDebug output with something prettier and more useful. As this class is mainly used during Kernel boot, where nothing is yet available, the Response content is always HTML. Methods __construct($debug = true, $charset = null, $fileLinkFormat = null) static ExceptionHandler register(bool $debug = true, string|null $charset = null, string|nul

FormConfigBuilder::getEventDispatcher()

EventDispatcherInterface getEventDispatcher() Returns the event dispatcher used to dispatch form events. Return Value EventDispatcherInterface The dispatcher

ArrayChoiceList::getChoices()

array getChoices() Returns all selectable choices. Return Value array The selectable choices indexed by the corresponding values

AbstractToken::getAttribute()

mixed getAttribute(string $name) Returns an attribute value. Parameters string $name The attribute name Return Value mixed The attribute value Exceptions InvalidArgumentException When attribute doesn't exist for this token

CookieJar::all()

Cookie[] all() Returns not yet expired cookies. Return Value Cookie[] An array of cookies

FlashBag::peekAll()

array peekAll() Gets all flash messages. Return Value array

RouterDataCollector::getTargetRoute()

string|null getTargetRoute() Return Value string|null The target route