for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* Test Model
*
* Model for Tests
* @category app
* @package models
* @copyright Copyright (c) 2017, Arroyo Labs, http://www.arroyolabs.com
* @author John Arroyo, [email protected]
*/
namespace app\models;
class Test
{
use \erdiko\doctrine\models\EntityTrait; // This adds some convenience methods
public function getTests()
return $this->getRepository('app\entities\Test')->findAll(); // The easy (convenient) way
}