string getVersion(string $packageName = null) Gets the version to add to public URL. Parameters string $packageName A package name Return Value string The version string
string getEmptyBarCharacter() Gets the empty bar character. Return Value string A character
string getBlockPrefix() Returns the prefix of the template block name for this type. The block prefix defaults to the underscored short class name with the "Type" suffix removed (e.g. "UserProfileType" => "user_profile"). Return Value string The prefix of the template block name
setResponse(Response $response) Sets a response and stops event propagation. Parameters Response $response
bool hasMethodCall(string $method) Check if the current definition has a given method to call after service initialization. Parameters string $method The method name to search for Return Value bool
evictFromCacheByIdentity(ObjectIdentityInterface $oid) Removes an ACL from the cache The ACL which is returned, must reference the passed object identity. Parameters ObjectIdentityInterface $oid
getMetadataFor($value) {@inheritdoc} Parameters $value
setToken(string $tokenId, string $token) Stores a CSRF token. Parameters string $tokenId The token ID string $token The CSRF token
static dump(array|string $dirs, string $file) Generate a class map file. Parameters array|string $dirs Directories or a single path to search in string $file The name of the class map file
string getToken(string $tokenId) Reads a stored CSRF token. Parameters string $tokenId The token ID Return Value string The stored token Exceptions TokenNotFoundException If the token ID does not exist
Page 159 of 787