src/EnvironmentLoader.php
public function addEnvironmentReader(array $arguments = [])
    {
        // Full namespace: <EXTENSION_NAMESPACE>\Environment\<EXTENSION_CONFIG_KEY>EnvironmentReader.
        // For example we have registered extension at namespace: "Behat\TqExtension". Class, which
        // implements extension interface, located at "Behat\TqExtension\ServiceContainer\TqExtension"
        // and its method, "getConfigKey()", returns the "tq" string. In this case the full namespace
        // of the reader object will be: "Behat\TqExtension\Environment\TqEnvironmentReader" and its
        // constructor will have a set of arguments that were passed to this method.
        $this->addDefinition(
            'Environment',
            'Reader',
            EnvironmentExtensionReader::class,
            EnvironmentExtension::READER_TAG,
            array_merge([$this->namespace, $this->path], $arguments)
        );
    }
public function addEnvironmentReader(array $arguments = [])
    {
        // Full namespace: <EXTENSION_NAMESPACE>\Environment\<EXTENSION_CONFIG_KEY>EnvironmentReader.
        // For example we have registered extension at namespace: "Behat\TqExtension". Class, which
        // implements extension interface, located at "Behat\TqExtension\ServiceContainer\TqExtension"
        // and its method, "getConfigKey()", returns the "tq" string. In this case the full namespace
        // of the reader object will be: "Behat\TqExtension\Environment\TqEnvironmentReader" and its
        // constructor will have a set of arguments that were passed to this method.
        $this->addDefinition(
            'Environment',
            'Reader',
            EnvironmentExtensionReader::class,
            EnvironmentExtension::READER_TAG,
            array_merge([$this->namespace, $this->path], $arguments)
        );
    }
public function addEnvironmentReader ( array $ arguments = [ ] ) { // Full namespace: <EXTENSION_NAMESPACE>\Environment\<EXTENSION_CONFIG_KEY>EnvironmentReader. // For example we have registered extension at namespace: "Behat\TqExtension". Class, which // implements extension interface, located at "Behat\TqExtension\ServiceContainer\TqExtension" // and its method, "getConfigKey()", returns the "tq" string. In this case the full namespace // of the reader object will be: "Behat\TqExtension\Environment\TqEnvironmentReader" and its // constructor will have a set of arguments that were passed to this method. $ this -> addDefinition ( 'Environment' , 'Reader' , EnvironmentExtensionReader :: class , EnvironmentExtension :: READER_TAG , array_merge ( [ $ this -> namespace , $ this -> path ] , $ arguments ) ) ; }
Implement extension's own environment reader.

@param array $arguments
Implement extension s own environment reader .