/** * @test * * @covers ::getBasePath * @covers ::getTemplatesPath * * @return array */ public function pathProvider() { return [[PathHelper::getBasePath(), 'Base Path'], [PathHelper::getTemplatesPath(), 'Template Path'], [PathHelper::getAliasesPath(), 'Aliases Path'], [PathHelper::getGeneralAliasesPath(), 'General Aliases Path']]; }
/** * Creates a template on given target path * * @param string $templateName Template name * @param string $targetPath Target full path */ protected function createTemplate($templateName, $targetPath) { $templatePath = PathHelper::getTemplatesPath() . '/' . $templateName; $this->mirror($templatePath, $targetPath); }