| 1 | <?php |
||
| 16 | class Result extends StorageResult { |
||
| 17 | |||
| 18 | /** |
||
| 19 | * @var DatabaseQuery |
||
| 20 | */ |
||
| 21 | protected $databaseQuery; |
||
| 22 | |||
| 23 | /** |
||
| 24 | * Create a new database storage result from the given storage query and |
||
| 25 | * attach the given database connection result. |
||
| 26 | * |
||
| 27 | * @param StorageQuery $query |
||
| 28 | * @param DatabaseResult $result |
||
| 29 | * @return StorageResult |
||
| 30 | */ |
||
| 31 | public static function createWithDatabaseResult(StorageQuery $query, DatabaseResult $result) { |
||
| 38 | |||
| 39 | /** |
||
| 40 | * Set the database query of the result. |
||
| 41 | * |
||
| 42 | * @param DatabaseQuery $query |
||
| 43 | */ |
||
| 44 | public function setDatabaseQuery(DatabaseQuery $query) { |
||
| 47 | |||
| 48 | } |
||
| 49 |