Translator::registerParserShortcut()

Translator registerParserShortcut(ParserInterface $shortcut) Registers a shortcut parser. Parameters ParserInterface $shortcut Return Value Translator

AjaxDataCollector::collect()

collect(Request $request, Response $response, Exception $exception = null) Collects data for the given Request and Response. Parameters Request $request A Request instance Response $response A Response instance Exception $exception An Exception instance

Definition::setAbstract()

Definition setAbstract(bool $boolean) Whether this definition is abstract, that means it merely serves as a template for other definitions. Parameters bool $boolean Return Value Definition the current instance

BaseNode::finalize()

final mixed finalize(mixed $value) Finalizes a value, applying all finalization closures. Parameters mixed $value The value to finalize Return Value mixed The finalized value Exceptions Exception InvalidConfigurationException

TestSessionListener

class TestSessionListener extends TestSessionListener TestSessionListener. Methods onKernelRequest(GetResponseEvent $event) from TestSessionListener onKernelResponse(FilterResponseEvent $event) Checks if session was initialized and saves if current request is master Runs on 'kernel.response' in test environment from TestSessionListener static array getSubscribedEvents() Returns an array of event names this subscriber wants to listen to. from TestSessionListener __construct(C

FormExtension::isSelectedChoice()

bool isSelectedChoice(ChoiceView $choice, string|array $selectedValue) Returns whether a choice is selected for a given form value. Unfortunately Twig does not support an efficient way to execute the "is_selected" closure passed to the template by ChoiceType. It is faster to implement the logic here (around 65ms for a specific form). Directly implementing the logic here is also faster than doing so in ChoiceView (around 30ms). The worst option tested so far is to implement the lo

Component\Security\Core\Authorization

Namespaces Symfony\Component\Security\Core\Authorization\Voter Classes AccessDecisionManager AccessDecisionManager is the base class for all access decision managers that use decision voters. Interfaces AccessDecisionManagerInterface AccessDecisionManagerInterface makes authorization decisions.

PrototypeNodeInterface

interface PrototypeNodeInterface implements NodeInterface This interface must be implemented by nodes which can be used as prototypes. Methods string getName() Returns the name of the node. from NodeInterface string getPath() Returns the path of the node. from NodeInterface Boolean isRequired() Returns true when the node is required. from NodeInterface Boolean hasDefaultValue() Returns true when the node has a default value. from NodeInterface mixed getDefaultValue() Retu

DebugExtension::load()

load(array $configs, ContainerBuilder $container) Loads a specific configuration. Parameters array $configs An array of configuration values ContainerBuilder $container A ContainerBuilder instance Exceptions InvalidArgumentException When provided tag is not defined in this extension

DelegatingEngine::render()

string render(string|TemplateReferenceInterface $name, array $parameters = array()) Renders a template. Parameters string|TemplateReferenceInterface $name A template name or a TemplateReferenceInterface instance array $parameters An array of parameters to pass to the template Return Value string The evaluated template as a string Exceptions RuntimeException if the template cannot be rendered