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