for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Vertex\Core;
abstract class Model
{
/**
* The database instance
*
* @var PDO
*/
protected $database;
* The table associated with the model
* @var string
protected $table;
* Create a new abstract model.
* @return void
public function __construct()
$this->database = Database::singleton()->connection(Config::get('database'));
}