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