ContainerFactory
Retrieves the configured container object. In production, the container is cached and stored at the path defined by kernel.cache_dir.
ContainerFactory::dumpAutoload should be set as a composer script.
"post-autoload-dump": [
"NewsHour\\WPCoreThemeComponents\\Containers\\ContainerFactory::dumpAutoload"
]
Tags
Table of Contents
Properties
$instance
private
static ContainerInterface
$instance
Methods
get()
public
static get() : ContainerInterface