ManagerRegistry

class ManagerRegistry extends AbstractManagerRegistry implements ContainerAwareInterface References Doctrine connections and entity/document managers. Traits ContainerAwareTrait ContainerAware trait. Methods setContainer(ContainerInterface $container = null) Sets the container. from ContainerAwareTrait Details setContainer(ContainerInterface $container = null) Sets the container. Parameters ContainerInterface $container A ContainerInter

ButtonBuilder::getDataLocked()

bool getDataLocked() Unsupported method. Return Value bool Whether the data is locked

TwigEngine::exists()

bool exists(string|TemplateReferenceInterface $name) Returns true if the template exists. Parameters string|TemplateReferenceInterface $name A template name or a TemplateReferenceInterface instance Return Value bool true if the template exists, false otherwise Exceptions RuntimeException if the engine cannot handle the template name

DataCollectorInterface

interface DataCollectorInterface DataCollectorInterface. Methods collect(Request $request, Response $response, Exception $exception = null) Collects data for the given Request and Response. string getName() Returns the name of the collector. Details collect(Request $request, Response $response, Exception $exception = null) Collects data for the given Request and Response. Parameters Request $request A Request instance Response $response

RequestStackContext::isSecure()

bool isSecure() Checks whether the request is secure or not. Return Value bool true if the request is secure, false otherwise

TwigDataCollector::getBlockCount()

getBlockCount()

ArrayNode::setAddIfNotSet()

setAddIfNotSet(bool $boolean) Sets whether to add default values for this array if it has not been defined in any of the configuration files. Parameters bool $boolean

EmptyVersionStrategy::getVersion()

string getVersion(string $path) Returns the asset version for an asset. Parameters string $path A path Return Value string The version string

JsonFileDumper

class JsonFileDumper extends FileDumper JsonFileDumper generates an json formatted string representation of a message catalogue. Methods setRelativePathTemplate(string $relativePathTemplate) Sets the template for the relative paths to files. from FileDumper setBackup(bool $backup) Sets backup flag. from FileDumper dump(MessageCatalogue $messages, array $options = array()) Dumps the message catalogue. from FileDumper string formatCatalogue(MessageCatalogue $messages, string $d

PathPackage deprecated

class PathPackage extends Package deprecated since 2.7, will be removed in 3.0. Use the Asset component instead. The path packages adds a version and a base path to asset URLs. Methods __construct(string $basePath = null, string $version = null, string $format = null) Constructor. string getVersion() Returns the asset package version. from Package string getUrl(string $path, string|bool|null $version = null) Returns an absolute or root-relative public path. string getBa