コード例 #1
0
ファイル: Template.php プロジェクト: stone-lab/Dynamicfield
 /**
  * Get the base path of the current theme.
  *
  * @return string
  */
 private function getCurrentThemeBasePath()
 {
     return $this->themeManager->find(setting('core::template'))->getPath();
 }
コード例 #2
0
ファイル: ThemeManagerTest.php プロジェクト: Houbsi/Core
 /** @test */
 public function it_should_return_null_if_not_theme_found()
 {
     $theme = $this->repository->find('fakeTheme');
     $this->assertNull($theme);
 }