UrlGenerator

class UrlGenerator implements UrlGeneratorInterface, ConfigurableRequirementsInterface UrlGenerator can generate a URL or a path for any route in the RouteCollection based on the passed parameters. Methods __construct(RouteCollection $routes, RequestContext $context, LoggerInterface $logger = null) Constructor. setContext(RequestContext $context) Sets the request context. RequestContext getContext() Gets the request context. setStrictRequirements(bool|null $enabled) Enable

ChoiceListInterface deprecated

interface ChoiceListInterface deprecated since version 2.7, to be removed in 3.0. Use {@link \Symfony\Component\Form\ChoiceList\ChoiceListInterface} instead. Contains choices that can be selected in a form field. Each choice has three different properties: Choice: The choice that should be returned to the application by the choice field. Can be any scalar value or an object, but no array. Label: A text representing the choice that is displayed to the user. Value: A uniquely identifying v

CardScheme

class CardScheme extends Constraint Metadata for the CardSchemeValidator. Constants DEFAULT_GROUP The name of the group given to all constraints with no explicit group. CLASS_CONSTRAINT Marks a constraint that can be put onto classes. PROPERTY_CONSTRAINT Marks a constraint that can be put onto properties. NOT_NUMERIC_ERROR INVALID_FORMAT_ERROR Properties mixed $payload Domain-specific data attached to a constraint. from Constraint array $groups The groups that the con

ProfilerController

class ProfilerController ProfilerController. Methods __construct(UrlGeneratorInterface $generator, Profiler $profiler = null, Twig_Environment $twig, array $templates, string $toolbarPosition = 'normal') Constructor. RedirectResponse homeAction() Redirects to the last profiles. Response panelAction(Request $request, string $token) Renders a profiler panel for the given token. Response infoAction(Request $request, string $about) Displays information page. Response tool

RequestDataCollector::getRequestQuery()

getRequestQuery()

ContainerAwareEventDispatcher

class ContainerAwareEventDispatcher extends EventDispatcher Lazily loads listeners and subscribers from the dependency injection container. Methods Event dispatch(string $eventName, Event $event = null) Dispatches an event to all registered listeners. from EventDispatcher array getListeners(string $eventName = null) Gets the listeners of a specific event or all listeners sorted by descending priority. int|null getListenerPriority(string $eventName, callable $listener) Gets the l

Existence

class Existence extends Composite Constants DEFAULT_GROUP The name of the group given to all constraints with no explicit group CLASS_CONSTRAINT Marks a constraint that can be put onto classes PROPERTY_CONSTRAINT Marks a constraint that can be put onto properties Properties mixed $payload Domain-specific data attached to a constraint from Constraint array $groups The groups that the constraint belongs to from Constraint $constraints Methods static string getErrorName(i

ServerCommand

class ServerCommand extends ContainerAwareCommand Base methods for commands related to PHP's built-in web server. Methods __construct(string|null $name = null) Constructor. from Command ignoreValidationErrors() Ignores validation errors. from Command setApplication(Application $application = null) Sets the application instance for this command. from Command setHelperSet(HelperSet $helperSet) Sets the helper set. from Command HelperSet getHelperSet() Gets the helper set.

ServerBag

class ServerBag extends ParameterBag ServerBag is a container for HTTP headers from the $_SERVER variable. Methods __construct(array $parameters = array()) Constructor. from ParameterBag array all() Returns the parameters. from ParameterBag array keys() Returns the parameter keys. from ParameterBag replace(array $parameters = array()) Replaces the current parameters by a new set. from ParameterBag add(array $parameters = array()) Adds parameters. from ParameterBag mixed

Route::getPath()

getPath()