Heystack\Core\DependencyInjection\ContainerExtension
Container extension for Heystack.
If Heystacks services are loaded as an extension (this happens when there is
a primary services.yml file in mysite/config) then this is the container
extension that loads heystacks services.yml
- Author: Cam Spiers <cameron@heyday.co.nz>
- Copyright: Heyday
Synopsis
class ContainerExtension
implements
ExtensionInterface
{
- // constants
- const IDENTIFIER = 'heystack';
- // methods
- public null load()
- public string getNamespace()
- public boolean getXsdValidationBasePath()
- public string getAlias()
Hierarchy
Implements
- Symfony\Component\DependencyInjection\Extension\ExtensionInterface
Constants
Name | Value |
---|---|
IDENTIFIER | 'heystack' |
Methods
public
- getAlias() — Returns the container extensions alias
- getNamespace() — Returns the namespace of the container extension
- getXsdValidationBasePath() — Returns Xsd Validation Base Path, which is not used, so false
- load() — Loads a services.yml file into a fresh container, ready to me merged back into the main container