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