public function testGetAndSetModuleStatus() { $status = $this->repository->active('user'); $this->assertTrue($status); $this->repository->disable('user'); $status = $this->repository->active('user'); $this->assertFalse($status); $this->repository->enable('user'); }
/** * Determine whether the given module is activated. * * @param string $name * @return bool * @static */ public static function active($name) { return \Pingpong\Modules\Repository::active($name); }