protected function getBasePath(Theme $theme = null) : string
    {
        $theme = $theme ?? $this->getTheme();

        if (isset($this->fullPaths[$theme->getKey()])) {
            return $this->fullPaths[$theme->getKey()];
        }

        return $this->fullPaths[$theme->getKey()] = $this->createPath($theme->getPath(), $this->directory);
    }
protected function getBasePath(Theme $theme = null) : string
    {
        $theme = $theme ?? $this->getTheme();

        if (isset($this->fullPaths[$theme->getKey()])) {
            return $this->fullPaths[$theme->getKey()];
        }

        return $this->fullPaths[$theme->getKey()] = $this->createPath($theme->getPath(), $this->directory);
    }
protected function getBasePath ( Theme $ theme = null ) : string { $ theme = $ theme ?? $ this -> getTheme ( ) ; if ( isset ( $ this -> fullPaths [ $ theme -> getKey ( ) ] ) ) { return $ this -> fullPaths [ $ theme -> getKey ( ) ] ; } return $ this -> fullPaths [ $ theme -> getKey ( ) ] = $ this -> createPath ( $ theme -> getPath ( ) , $ this -> directory ) ; }
Get full base path

@param \Laranix\Themer\Theme $theme
@return string
Get full base path