Ssi

class Ssi implements SurrogateInterface Ssi implements the SSI capabilities to Request and Response instances. Methods __construct(array $contentTypes = array('text/html', 'text/xml', 'application/xhtml+xml', 'application/xml')) Constructor. string getName() Returns surrogate name. ResponseCacheStrategyInterface createCacheStrategy() Returns a new cache strategy instance. bool hasSurrogateCapability(Request $request) Checks that at least one surrogate has Surrogate capabil

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()

PropertyNormalizer

class PropertyNormalizer extends AbstractObjectNormalizer Converts between objects and arrays by mapping properties. The normalization process looks for all the object's properties (public and private). The result is a map from property names to property values. Property values are normalized through the serializer. The denormalization first looks at the constructor of the given class to see if any of the parameters have the same name as one of the properties. The constructor is then called

Application

class Application An Application is the container for a collection of commands. It is the main entry point of a Console application. This class is optimized for a standard CLI environment. Usage: $app = new Application('myapp', '1.0 (stable)'); $app->add(new SimpleCommand()); $app->run(); Methods __construct(string $name = 'UNKNOWN', string $version = 'UNKNOWN') Constructor. setDispatcher(EventDispatcherInterface $dispatcher) int run(InputInterface $input = null, Output

ObjectChoiceList deprecated

class ObjectChoiceList extends ChoiceList deprecated since Symfony 2.7, to be removed in version 3.0. Use {@link \Symfony\Component\Form\ChoiceList\ArrayChoiceList} instead. A choice list for object choices. Supports generation of choice labels, choice groups and choice values by calling getters of the object (or associated objects). $choices = array($user1, $user2); // call getName() to determine the choice labels $choiceList = new ObjectChoiceList($choices, 'name'); Methods __con

AbstractToken

class AbstractToken implements TokenInterface Base class for Token instances. Methods __construct(array $roles = array()) Constructor. RoleInterface[] getRoles() Returns the user roles. string getUsername() Returns the username. mixed getUser() Returns a user representation. setUser(mixed $user) Sets the user in the token. bool isAuthenticated() Returns whether the user is authenticated or not. setAuthenticated($authenticated) Sets the authenticated flag.