src/Config.php
public function get(string $name): array
    {
        if (isset($this->compiled[$name])) {
            $config = $this->compiled[$name];
        } else {
            $this->compiled[$name] = $this->createServiceConfig($name);
            $config = $this->compiled[$name];
        }

        if (!isset($config['use'])) {
            $config['use'] = $name;
        }

        return $config;
    }
public function get(string $name): array
    {
        if (isset($this->compiled[$name])) {
            $config = $this->compiled[$name];
        } else {
            $this->compiled[$name] = $this->createServiceConfig($name);
            $config = $this->compiled[$name];
        }

        if (!isset($config['use'])) {
            $config['use'] = $name;
        }

        return $config;
    }
public function get ( string $ name ) : array { if ( isset ( $ this -> compiled [ $ name ] ) ) { $ config = $ this -> compiled [ $ name ] ; } else { $ this -> compiled [ $ name ] = $ this -> createServiceConfig ( $ name ) ; $ config = $ this -> compiled [ $ name ] ; } if ( ! isset ( $ config [ 'use' ] ) ) { $ config [ 'use' ] = $ name ; } return $ config ; }
Get service configuration.
Get service configuration .