Ejemplo n.º 1
0
 public function test_set_get_theme()
 {
     $this->repository = $this->createRepository();
     $this->repository->setCurrent('theme1');
     $current = $this->repository->getCurrent();
     $this->assertEquals('theme1', $current);
 }
Ejemplo n.º 2
0
 /**
  * Set current theme.
  *
  * @param string $current
  * @return $this
  * @static
  */
 public static function setCurrent($current)
 {
     return \Pingpong\Themes\Repository::setCurrent($current);
 }