public function getPath(string $name = null)
    {
        if (is_null($name)) {
            return $this->get('path');
        }

        return $this->get('path', $name);
    }
public function getPath(string $name = null)
    {
        if (is_null($name)) {
            return $this->get('path');
        }

        return $this->get('path', $name);
    }
public function getPath ( string $ name = null ) { if ( is_null ( $ name ) ) { return $ this -> get ( 'path' ) ; } return $ this -> get ( 'path' , $ name ) ; }
Returns path data given name or all path data

@param string|null $name The key name in the path (string|array)

@return string|array
Returns path data given name or all path data