src/Recursivity/Tree/Node.php
public function get($name)
    {
        $lowerName = strtolower($name);
        if (isset($this->properties[$lowerName])) {
            return $this->properties[$lowerName];
        }
        throw new \InvalidArgumentException(
            "Undefined property: $name (Node ID: ".$this->properties['id'].')'
        );
    }
public function get($name)
    {
        $lowerName = strtolower($name);
        if (isset($this->properties[$lowerName])) {
            return $this->properties[$lowerName];
        }
        throw new \InvalidArgumentException(
            "Undefined property: $name (Node ID: ".$this->properties['id'].')'
        );
    }
public function get ( $ name ) { $ lowerName = strtolower ( $ name ) ; if ( isset ( $ this -> properties [ $ lowerName ] ) ) { return $ this -> properties [ $ lowerName ] ; } throw new \ InvalidArgumentException ( "Undefined property: $name (Node ID: " . $ this -> properties [ 'id' ] . ')' ) ; }
Returns a single node property by its name.

@param string $name

@throws \InvalidArgumentException

@return mixed
Returns a single node property by its name .