getSnapshots() public static méthode

Get all test suite results
public static getSnapshots ( Doctrine\DBAL\Connection $connection ) : mixed[]
$connection Doctrine\DBAL\Connection
Résultat mixed[]
 /**
  * Get archived test suites
  *
  * Get all archived test suites
  *
  * @param \Symfony\Component\HttpFoundation\Request $request
  * @param \Silex\Application $app
  *
  * @return \Symfony\Component\HttpFoundation\Response
  */
 public function index(Request $request, Application $app)
 {
     $suites = Suite::getSnapshots($app['db']);
     return $this->ok($this->parse($suites));
 }