FormRegistryInterface::getType()

ResolvedFormTypeInterface getType(string $name) Returns a form type by name. This methods registers the type extensions from the form extensions. Parameters string $name The name of the type Return Value ResolvedFormTypeInterface The type Exceptions InvalidArgumentException if the type can not be retrieved from any extension

UriSigner

class UriSigner Signs URIs. Methods __construct(string $secret) Constructor. string sign(string $uri) Signs a URI. bool check(string $uri) Checks that a URI contains the correct hash. Details __construct(string $secret) Constructor. Parameters string $secret A secret string sign(string $uri) Signs a URI. The given URI is signed by adding a _hash query string parameter which value depends on

ChoiceListInterface::getValuesForChoices()

string[] getValuesForChoices(array $choices) Returns the values corresponding to the given choices. The values are returned with the same keys and in the same order as the corresponding choices in the given array. Parameters array $choices An array of choices. Non-existing choices in this array are ignored Return Value string[] An array of choice values

FormFactoryBuilderInterface::addExtension()

FormFactoryBuilderInterface addExtension(FormExtensionInterface $extension) Adds an extension to be loaded by the factory. Parameters FormExtensionInterface $extension The extension Return Value FormFactoryBuilderInterface The builder

NotFoundHttpException

class NotFoundHttpException extends HttpException NotFoundHttpException. Methods __construct($message = null, Exception $previous = null, $code) Constructor. int getStatusCode() Returns the status code. from HttpException array getHeaders() Returns response headers. from HttpException Details __construct($message = null, Exception $previous = null, $code) Constructor. Parameters $message Exception $previous $code

ResolvedTypeDataCollectorProxy::getOptionsResolver()

OptionsResolver getOptionsResolver() Returns the configured options resolver used for this type. Return Value OptionsResolver The options resolver

AppVariable::setTokenStorage()

setTokenStorage(TokenStorageInterface $tokenStorage) Parameters TokenStorageInterface $tokenStorage

ResourceCaster::castStream()

static castStream($stream, array $a, Stub $stub, $isNested) Parameters $stream array $a Stub $stub $isNested

ClassMetadataInterface::getPropertyMetadata()

PropertyMetadataInterface[] getPropertyMetadata(string $property) Returns all metadata instances for the given named property. If your implementation does not support properties, simply throw an exception in this method (for example a BadMethodCallException). Parameters string $property The property name Return Value PropertyMetadataInterface[] A list of metadata instances. Empty if no metadata exists for the property.

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