protected function loadFromString($configuration, ParserInterface $parser)
    {
        $this->data = [];

        // Try to parse string
        $this->data = array_replace_recursive($this->data, $parser->parseString($configuration));
    }
protected function loadFromString($configuration, ParserInterface $parser)
    {
        $this->data = [];

        // Try to parse string
        $this->data = array_replace_recursive($this->data, $parser->parseString($configuration));
    }
protected function loadFromString ( $ configuration , ParserInterface $ parser ) { $ this -> data = [ ] ; // Try to parse string $ this -> data = array_replace_recursive ( $ this -> data , $ parser -> parseString ( $ configuration ) ) ; }
Loads configuration from string.

@param string          $configuration String with configuration
@param ParserInterface $parser        Configuration parser
Loads configuration from string .