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'); }
/** * Enabling a specific module. * * @param string $name * @return bool * @static */ public static function enable($name) { return \Pingpong\Modules\Repository::enable($name); }