ConstraintViolationListInterface

interface ConstraintViolationListInterface implements Traversable, Countable, ArrayAccess A list of constraint violations. Methods add(ConstraintViolationInterface $violation) Adds a constraint violation to this list. addAll(ConstraintViolationListInterface $otherList) Merges an existing violation list into this list. ConstraintViolationInterface get(int $offset) Returns the violation at a given offset. bool has(int $offset) Returns whether the given offset exists. se

UserProviderInterface

interface UserProviderInterface Represents a class that loads UserInterface objects from some source for the authentication system. In a typical authentication configuration, a username (i.e. some unique user identifier) credential enters the system (via form login, or any method). The user provider that is configured with that authentication method is asked to load the UserInterface object for the given username (via loadUserByUsername) so that the rest of the process can continue. Internal

CollectionToArrayTransformer::transform()

mixed transform(Collection $collection) Transforms a collection into an array. Parameters Collection $collection A collection of entities Return Value mixed The value in the transformed representation Exceptions TransformationFailedException

RequestStack::push()

push(Request $request) Pushes a Request on the stack. This method should generally not be called directly as the stack management should be taken care of by the application itself. Parameters Request $request

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

FormConfigBuilder::setAttribute()

FormConfigBuilderInterface setAttribute(string $name, mixed $value) Sets the value for an attribute. Parameters string $name The name of the attribute mixed $value The value of the attribute Return Value FormConfigBuilderInterface The configuration object

FormRegistry::getTypeGuesser()

FormTypeGuesserInterface|null getTypeGuesser() Returns the guesser responsible for guessing types. Return Value FormTypeGuesserInterface|null

RoutableFragmentRenderer

class RoutableFragmentRenderer implements FragmentRendererInterface Adds the possibility to generate a fragment URI for a given Controller. Methods setFragmentPath(string $path) Sets the fragment path that triggers the fragment listener. Details setFragmentPath(string $path) Sets the fragment path that triggers the fragment listener. Parameters string $path The path See also FragmentListener

FrameworkExtension::getConfiguration()

ConfigurationInterface|null getConfiguration(array $config, ContainerBuilder $container) Returns extension configuration. Parameters array $config An array of configuration values ContainerBuilder $container A ContainerBuilder instance Return Value ConfigurationInterface|null The configuration or null

ConfigDataCollector::hasZendOpcache()

bool hasZendOpcache() Returns true if Zend OPcache is enabled. Return Value bool true if Zend OPcache is enabled, false otherwise