public function testGetCachedModules() { $this->assertTrue(is_array($modules = $this->repository->getCached())); $this->assertEquals($this->repository->count(), 2); }
/** * Get cached modules. * * @return array * @static */ public static function getCached() { return \Pingpong\Modules\Repository::getCached(); }