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