FormConfigBuilder::getByReference()

bool getByReference() Returns whether the form's data should be modified by reference. Return Value bool Whether to modify the form's data by reference

OutputFormatter::setStyle()

setStyle(string $name, OutputFormatterStyleInterface $style) Sets a new style. Parameters string $name The style name OutputFormatterStyleInterface $style The style instance

PassConfig::getRemovingPasses()

array getRemovingPasses() Gets all passes for the Removing pass. Return Value array An array of passes

PersistentToken::getClass()

string getClass() Returns the class of the user. Return Value string

FormDataExtractorInterface

interface FormDataExtractorInterface Extracts arrays of information out of forms. Methods array extractConfiguration(FormInterface $form) Extracts the configuration data of a form. array extractDefaultData(FormInterface $form) Extracts the default data of a form. array extractSubmittedData(FormInterface $form) Extracts the submitted data of a form. array extractViewVariables(FormView $view) Extracts the view variables of a form. Details array

HttpKernel::terminate()

terminate(Request $request, Response $response) Terminates a request/response cycle. Should be called after sending the response and before shutting down the kernel. Parameters Request $request A Request instance Response $response A Response instance

DirectoryLoader

class DirectoryLoader extends FileLoader Methods LoaderResolverInterface getResolver() Gets the loader resolver. from Loader setResolver(LoaderResolverInterface $resolver) Sets the loader resolver. from Loader mixed import(mixed $resource, string|null $type = null, bool $ignoreErrors = false, string|null $sourceResource = null) Imports a resource. from FileLoader LoaderInterface resolve(mixed $resource, string|null $type = null) Finds a loader able to load an imported resource.

HttpKernelExtension::renderFragment()

string renderFragment(string|ControllerReference $uri, array $options = array()) Renders a fragment. Parameters string|ControllerReference $uri A URI as a string or a ControllerReference instance array $options An array of options Return Value string The fragment content See also FragmentHandler::render()

StringInput

class StringInput extends ArgvInput StringInput represents an input provided as a string. Usage: $input = new StringInput('foo --bar="foobar"'); Constants REGEX_STRING REGEX_QUOTED_STRING Methods __construct(string $input) Constructor. bind(InputDefinition $definition) Binds the current Input instance with the given arguments and options. from Input validate() Validates if arguments given are correct. from Input bool isInteractive() Is this input means interactive

HttpUtils

class HttpUtils Encapsulates the logic needed to create sub-requests, redirect the user, and match URLs. Methods __construct(UrlGeneratorInterface $urlGenerator = null, UrlMatcherInterface|RequestMatcherInterface $urlMatcher = null) Constructor. RedirectResponse createRedirectResponse(Request $request, string $path, int $status = 302) Creates a redirect Response. Request createRequest(Request $request, string $path) Creates a Request. bool checkRequestPath(Request $request