Issues (33)

Interfaces/Template/TemplateLoaderInterface.php (1 issue)

Labels
Severity
1
<?php namespace Tarsana\Command\Interfaces\Template;
2
3
use Tarsana\IO\Interfaces\Filesystem as FilesystemInterface;
4
5
/**
6
 * Templates Loader Interface
7
 */
8
interface TemplateLoaderInterface {
9
10
    /**
11
     * Initialize the loader.
12
     *
13
     * @param  string $templatesPath
14
     * @param  string $cachePath
15
     * @return self
16
     */
17
    public function init(string $templatesPath, string $cachePath = null) : TemplateLoaderInterface;
18
19
    /**
20
     * Loads a template.
21
     *
22
     * @param  string $name
23
     * @return Tarsana\Command\Interfaces\Template\TemplateInterface
0 ignored issues
show
The type Tarsana\Command\Interfac...plate\TemplateInterface was not found. Did you mean Tarsana\Command\Interfac...plate\TemplateInterface? If so, make sure to prefix the type with \.
Loading history...
24
     */
25
    public function load(string $name) : TemplateInterface;
26
}
27