src/Theme.php
protected function addPathLocation($location)
    {
        // First path is in the selected theme.
        $hints[] = public_path($location);

        // This is nice feature to use inherit from another.
        if ($this->getConfig('inherit')) {
            // Inherit from theme name.
            $inherit = $this->getConfig('inherit');

            // Inherit theme path.
            $inheritPath = public_path($this->path($inherit));

            if ($this->files->isDirectory($inheritPath)) {
                array_push($hints, $inheritPath);
            }
        }

        // Add namespace with hinting paths.
        $this->view->addNamespace($this->getThemeNamespace(), $hints);
    }
protected function addPathLocation($location)
    {
        // First path is in the selected theme.
        $hints[] = public_path($location);

        // This is nice feature to use inherit from another.
        if ($this->getConfig('inherit')) {
            // Inherit from theme name.
            $inherit = $this->getConfig('inherit');

            // Inherit theme path.
            $inheritPath = public_path($this->path($inherit));

            if ($this->files->isDirectory($inheritPath)) {
                array_push($hints, $inheritPath);
            }
        }

        // Add namespace with hinting paths.
        $this->view->addNamespace($this->getThemeNamespace(), $hints);
    }
protected function addPathLocation ( $ location ) { // First path is in the selected theme. $ hints [ ] = public_path ( $ location ) ; // This is nice feature to use inherit from another. if ( $ this -> getConfig ( 'inherit' ) ) { // Inherit from theme name. $ inherit = $ this -> getConfig ( 'inherit' ) ; // Inherit theme path. $ inheritPath = public_path ( $ this -> path ( $ inherit ) ) ; if ( $ this -> files -> isDirectory ( $ inheritPath ) ) { array_push ( $ hints , $ inheritPath ) ; } } // Add namespace with hinting paths. $ this -> view -> addNamespace ( $ this -> getThemeNamespace ( ) , $ hints ) ; }
Add location path to look up.

@param string $location
Add location path to look up .