value = $value; } public static function where($col, $operator, $value) { return new Tests($value); } public function first() { if ($this->value != 42) { return null; } return new Tests($this->value); } public function toDbo() { return new Tests($this->value); } } class TestsDataAccess extends \Luticate\Utils\LuDataAccess { protected static function getModel() { return new Tests(); } }