AbstractBundleReader

class AbstractBundleReader implements BundleReaderInterface Base class for {@link BundleReaderInterface} implementations. Methods string[] getLocales(string $path) Reads the available locales of a resource bundle. Details string[] getLocales(string $path) Reads the available locales of a resource bundle. Parameters string $path The path to the resource bundle. Return Value string[] A list of supported locale codes.

HttpCache::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

OptionsResolver::hasDefault()

bool hasDefault(string $option) Returns whether a default value is set for an option. Returns true if {@link setDefault()} was called for this option. An option is also considered set if it was set to null. Parameters string $option The option name Return Value bool Whether a default value is set

StreamedResponseListener

class StreamedResponseListener implements EventSubscriberInterface StreamedResponseListener is responsible for sending the Response to the client. Methods onKernelResponse(FilterResponseEvent $event) Filters the Response. static array getSubscribedEvents() Returns an array of event names this subscriber wants to listen to. Details onKernelResponse(FilterResponseEvent $event) Filters the Response. Parameters FilterResponseEvent $event A

InputInterface::setArgument()

setArgument(string $name, string $value) Sets an argument value by name. Parameters string $name The argument name string $value The argument value Exceptions InvalidArgumentException When argument given doesn't exist

ProxyDumper::getProxyFactoryCode()

string getProxyFactoryCode(Definition $definition, $id) Generates the code to be used to instantiate a proxy in the dumped factory code. Parameters Definition $definition $id Return Value string

ContainerAwareCommand

class ContainerAwareCommand extends Command implements ContainerAwareInterface Command. 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

InputInterface::getOptions()

array getOptions() Returns all the given options merged with the default values. Return Value array

SurrogateInterface::process()

Response process(Request $request, Response $response) Replaces a Response Surrogate tags with the included resource content. Parameters Request $request A Request instance Response $response A Response instance Return Value Response

TokenInterface::getCredentials()

mixed getCredentials() Returns the user credentials. Return Value mixed The user credentials