| 12345678910111213141516171819202122232425262728 | <?php
/**
 * Created by PhpStorm.
 * User: robin
 * Date: 9/27/15
 * Time: 5:01 PM
 */
require_once("../vendor/autoload.php");
require_once("TestDataAccess.php");
function abort($code, $reason)
{
    echo "ABORTED: $code, $reason\n";
    exit;
}
class TestsBusiness extends \Luticate\Utils\LuBusiness
{
    protected static function getDataAccess()
    {
        return new TestsDataAccess();
    }
}
var_dump(TestsBusiness::getById(42));
var_dump(TestsBusiness::getById(4242));
 |