ControllerNameParser

class ControllerNameParser ControllerNameParser converts controller from the short notation a:b:c (BlogBundle:Post:index) to a fully-qualified class::method string (Bundle\BlogBundle\Controller\PostController::indexAction). Methods __construct(KernelInterface $kernel) Constructor. string parse(string $controller) Converts a short notation a:b:c to a class::method. string build(string $controller) Converts a class::method notation to a short one (a:b:c). Details

Esi::createCacheStrategy()

ResponseCacheStrategyInterface createCacheStrategy() Returns a new cache strategy instance. Return Value ResponseCacheStrategyInterface A ResponseCacheStrategyInterface instance

FileProfilerStorage::read()

Profile read(string $token) Reads data associated with the given token. The method returns false if the token does not exist in the storage. Parameters string $token A token Return Value Profile The profile associated with token

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