Beispiel #1
0
 /**
  * Get the base path of the current theme.
  *
  * @return string
  */
 private function getCurrentThemeBasePath()
 {
     return $this->themeManager->find(setting('core::template'))->getPath();
 }
Beispiel #2
0
 /** @test */
 public function it_should_return_null_if_not_theme_found()
 {
     $theme = $this->repository->find('fakeTheme');
     $this->assertNull($theme);
 }