public function get($structure, $default = null)
    {
        if ($structure instanceof Structure) {
            return $structure->get($this->path, $default, $this->separator);
        }

        return StructureHelper::getByPath($structure, $this->path, $this->separator ?: '.');
    }
public function get($structure, $default = null)
    {
        if ($structure instanceof Structure) {
            return $structure->get($this->path, $default, $this->separator);
        }

        return StructureHelper::getByPath($structure, $this->path, $this->separator ?: '.');
    }
public function get ( $ structure , $ default = null ) { if ( $ structure instanceof Structure ) { return $ structure -> get ( $ this -> path , $ default , $ this -> separator ) ; } return StructureHelper :: getByPath ( $ structure , $ this -> path , $ this -> separator ? : '.' ) ; }
Get from Structure.

@param Structure|array|object $structure
@param mixed                  $default

@return  mixed

@since  3.5.1
Get from Structure .