CacheWarmupCommand

class CacheWarmupCommand extends ContainerAwareCommand Warmup the cache. 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. from Command Application getApplicatio

HttpCache

class HttpCache implements HttpKernelInterface, TerminableInterface Cache provides HTTP caching. Methods __construct(HttpKernelInterface $kernel, StoreInterface $store, SurrogateInterface $surrogate = null, array $options = array()) Constructor. StoreInterface getStore() Gets the current store. array getTraces() Returns an array of events that took place during processing of the last request. string getLog() Returns a log message for the events of the last request processi

Form::getName()

string getName() Returns the name by which the form is identified in forms. Return Value string The name of the form

DefaultChoiceListFactory::createListFromChoices()

ChoiceListInterface createListFromChoices(array|Traversable $choices, null|callable $value = null) Creates a choice list for the given choices. The choices should be passed in the values of the choices array. Optionally, a callable can be passed for generating the choice values. The callable receives the choice as first and the array key as the second argument. Parameters array|Traversable $choices The choices null|callable $value The callable generating the choice values Ret

Request::setFormat()

setFormat(string $format, string|array $mimeTypes) Associates a format with mime types. Parameters string $format The format string|array $mimeTypes The associated mime types (the preferred one must be the first as it will be used as the content type)

DumpExtension

class DumpExtension extends Twig_Extension Provides integration of the dump() function with Twig. Methods __construct(ClonerInterface $cloner) getFunctions() getTokenParsers() getName() dump(Twig_Environment $env, $context) Details __construct(ClonerInterface $cloner) Parameters ClonerInterface $cloner getFunctions() getTokenParsers()

PropertyAccessDecorator::createView()

ChoiceListView createView(ChoiceListInterface $list, null|array|callable $preferredChoices = null, null|callable $label = null, null|callable $index = null, null|callable $groupBy = null, null|array|callable $attr = null) Creates a view for the given choice list. Callables may be passed for all optional arguments. The callables receive the choice as first and the array key as the second argument. The callable for the label and the name should return the generated label/choice na

FormInterface::getPropertyPath()

PropertyPathInterface getPropertyPath() Returns the property path that the form is mapped to. Return Value PropertyPathInterface The property path

ApacheRequest

class ApacheRequest extends Request Request represents an HTTP request from an Apache server. Constants HEADER_CLIENT_IP HEADER_CLIENT_HOST HEADER_CLIENT_PROTO HEADER_CLIENT_PORT Properties ParameterBag $attributes Custom parameters from Request ParameterBag $request Request body parameters ($_POST) from Request ParameterBag $query Query string parameters ($_GET) from Request ServerBag $server Server and execution environment parameters ($_SERVER) from Request Fil

RemoteUserFactory::getPosition()

string getPosition() Defines the position at which the provider is called. Possible values: preauth, form, http, and rememberme. Return Value string