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

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

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.

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

Esi::createCacheStrategy()

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

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

Ssi::hasSurrogateCapability()

bool hasSurrogateCapability(Request $request) Checks that at least one surrogate has Surrogate capability. Parameters Request $request A Request instance Return Value bool true if one surrogate has Surrogate capability, false otherwise

SvnRepository::getUrl()

string getUrl() Returns the URL of the repository. Return Value string The URL of the repository

ResourceCaster::castCurl()

static castCurl($h, array $a, Stub $stub, $isNested) Parameters $h array $a Stub $stub $isNested

DumpListener

class DumpListener implements EventSubscriberInterface Configures dump() handler. Methods __construct(ClonerInterface $cloner, DataDumperInterface $dumper) configure() static array getSubscribedEvents() Returns an array of event names this subscriber wants to listen to. Details __construct(ClonerInterface $cloner, DataDumperInterface $dumper) Parameters ClonerInterface $cloner Cloner service DataDumperInterface $dumper Dumper servi