public function get($node = null)
    {
        if ($node !== null) {
            $nodes         = explode(':', $node);
            $configuration = $this->getConfiguration();
            foreach ($nodes as $node) {
                $configuration = $configuration->{$node};
            }
        } else {
            $configuration = $this->getConfiguration();
        }

        return $configuration;
    }
public function get($node = null)
    {
        if ($node !== null) {
            $nodes         = explode(':', $node);
            $configuration = $this->getConfiguration();
            foreach ($nodes as $node) {
                $configuration = $configuration->{$node};
            }
        } else {
            $configuration = $this->getConfiguration();
        }

        return $configuration;
    }
public function get ( $ node = null ) { if ( $ node !== null ) { $ nodes = explode ( ':' , $ node ) ; $ configuration = $ this -> getConfiguration ( ) ; foreach ( $ nodes as $ node ) { $ configuration = $ configuration -> { $ node } ; } } else { $ configuration = $ this -> getConfiguration ( ) ; } return $ configuration ; }
Getter for value of passed node.

@param string $node The key used for value lookup.

@author Benjamin Carl <opensource@clickalicious.de>

@return mixed|null The value of configuration node if set, otherwise NULL
Getter for value of passed node .