Пример #1
0
 /**
  * Find the specified theme.
  *
  * @param string $search
  * @return \Pingpong\Themes\Theme|null
  * @static
  */
 public static function find($search)
 {
     return \Pingpong\Themes\Repository::find($search);
 }
Пример #2
0
 public function test_find_theme()
 {
     $this->repository = $this->createRepository();
     $test1 = $this->repository->find('theme1');
     $this->assertInstanceOf('Pingpong\\Themes\\Theme', $test1);
 }