ExtensionInterface is the interface implemented by container extension classes.

public abstract getAlias()

Returns the recommended alias to use in XML.

This alias is also the mandatory prefix to use when using YAML.

  • return string
public abstract getNamespace()

Returns the namespace to be used for this extension (XML namespace).

  • return string
public abstract getXsdValidationBasePath()

Returns the base path for the XSD files.

  • return string|false
public abstract load(array $configs, Symfony\Component\DependencyInjection\ContainerBuilder $container)

Loads a specific configuration.

  • param array[] $configs
  • return void
  • throws \InvalidArgumentException When provided tag is not defined in this extension
© 2023 Bruce Wells
Search Namespaces \ Classes