@@ -37,8 +37,8 @@ |
||
| 37 | 37 | public function __construct(string $source, string $name) |
| 38 | 38 | { |
| 39 | 39 | $this->setSourcePath($source) |
| 40 | - ->setName($name) |
|
| 41 | - ->loadContent(); |
|
| 40 | + ->setName($name) |
|
| 41 | + ->loadContent(); |
|
| 42 | 42 | } |
| 43 | 43 | |
| 44 | 44 | /** |
@@ -99,12 +99,12 @@ |
||
| 99 | 99 | return $this->templatePath; |
| 100 | 100 | } |
| 101 | 101 | |
| 102 | - /** |
|
| 103 | - * Retorna caminho baseado nas configurações de template |
|
| 104 | - * |
|
| 105 | - * @param string $file |
|
| 106 | - * @return string |
|
| 107 | - */ |
|
| 102 | + /** |
|
| 103 | + * Retorna caminho baseado nas configurações de template |
|
| 104 | + * |
|
| 105 | + * @param string $file |
|
| 106 | + * @return string |
|
| 107 | + */ |
|
| 108 | 108 | public function findByTemplate(string $template) : string |
| 109 | 109 | { |
| 110 | 110 | $folder = $this->finder->findByTemplate($template); |