Пример #1
0
 /**
  * Check whether the given theme in all themes.
  *
  * @param $theme
  * @return bool
  * @static
  */
 public static function has($theme)
 {
     return \Pingpong\Themes\Repository::has($theme);
 }
Пример #2
0
 public function test_check_theme()
 {
     $this->repository = $this->createRepository();
     $result = $this->repository->has('theme1');
     $this->assertTrue($result);
 }