public function getResourcePath(string $resource, Theme $theme = null) : string
    {
        return $this->createPath($this->getBasePath($theme), $resource);
    }
public function getResourcePath(string $resource, Theme $theme = null) : string
    {
        return $this->createPath($this->getBasePath($theme), $resource);
    }
public function getResourcePath ( string $ resource , Theme $ theme = null ) : string { return $ this -> createPath ( $ this -> getBasePath ( $ theme ) , $ resource ) ; }
Get path to a resource

@param string                $resource
@param \Laranix\Themer\Theme $theme
@return string
Get path to a resource