BasicPermissionMap::contains()

bool contains(string $permission) Whether this map contains the given permission Parameters string $permission Return Value bool

BasicPermissionMap

class BasicPermissionMap implements PermissionMapInterface This is basic permission map complements the masks which have been defined on the standard implementation of the MaskBuilder. Constants PERMISSION_VIEW PERMISSION_EDIT PERMISSION_CREATE PERMISSION_DELETE PERMISSION_UNDELETE PERMISSION_OPERATOR PERMISSION_MASTER PERMISSION_OWNER Methods __construct() array getMasks(string $permission, object $object) Returns an array of bitmasks. bool c

BasicAuthenticationListener

class BasicAuthenticationListener implements ListenerInterface BasicAuthenticationListener implements Basic HTTP authentication. Methods __construct(TokenStorageInterface $tokenStorage, AuthenticationManagerInterface $authenticationManager, $providerKey, AuthenticationEntryPointInterface $authenticationEntryPoint, LoggerInterface $logger = null) handle(GetResponseEvent $event) Handles basic authentication. Details __construct(TokenStorageInterface $

BasicAuthenticationEntryPoint

class BasicAuthenticationEntryPoint implements AuthenticationEntryPointInterface BasicAuthenticationEntryPoint starts an HTTP Basic authentication. Methods __construct($realmName) Response start(Request $request, AuthenticationException $authException = null) Starts the authentication scheme. Details __construct($realmName) Parameters $realmName Response start(Request $request, AuthenticationException $aut

BaseValidatorExtension

class BaseValidatorExtension extends AbstractTypeExtension Encapsulates common logic of {@link FormTypeValidatorExtension} and {@link SubmitTypeValidatorExtension}. Methods buildForm(FormBuilderInterface $builder, array $options) Builds the form. from AbstractTypeExtension buildView(FormView $view, FormInterface $form, array $options) Builds the view. from AbstractTypeExtension finishView(FormView $view, FormInterface $form, array $options) Finishes the view. from AbstractTypeEx

BaseType::configureOptions()

configureOptions(OptionsResolver $resolver) Configures the options for this type. Parameters OptionsResolver $resolver The resolver for the options

BaseType::buildView()

buildView(FormView $view, FormInterface $form, array $options) Builds the form view. This method is called for each type in the hierarchy starting from the top most type. Type extensions can further modify the view. A view of a form is built before the views of the child forms are built. This means that you cannot access child views in this method. If you need to do so, move your logic to {@link finishView()} instead. Parameters FormView $view The view FormInterface $form The form

BaseType::buildForm()

buildForm(FormBuilderInterface $builder, array $options) Builds the form. This method is called for each type in the hierarchy starting from the top most type. Type extensions can further modify the form. Parameters FormBuilderInterface $builder The form builder array $options The options

BaseType

class BaseType extends AbstractType Encapsulates common logic of {@link FormType} and {@link ButtonType}. This type does not appear in the form's type inheritance chain and as such cannot be extended (via {@link \Symfony\Component\Form\FormExtensionInterface}) nor themed. Methods buildForm(FormBuilderInterface $builder, array $options) Builds the form. buildView(FormView $view, FormInterface $form, array $options) Builds the form view. finishView(FormView $view, FormInterface $

BasePasswordEncoder

class BasePasswordEncoder implements PasswordEncoderInterface BasePasswordEncoder is the base class for all password encoders. Constants MAX_PASSWORD_LENGTH