| 1 | <?php |
||
| 11 | abstract class BaseQuery implements QueryInterface |
||
| 12 | { |
||
| 13 | protected $entity; |
||
| 14 | |||
| 15 | /** |
||
| 16 | * Constructor. |
||
| 17 | * |
||
| 18 | * @param Entity $entity |
||
| 19 | */ |
||
| 20 | public function __construct(Entity $entity) |
||
| 24 | |||
| 25 | /** |
||
| 26 | * Executes the query and returns true if it's ok |
||
| 27 | * |
||
| 28 | * @return bool |
||
| 29 | */ |
||
| 30 | public function run() |
||
| 36 | } |
||
| 37 |