| 1 | <?php |
||
| 25 | abstract class MetaParameters extends BaseParameters |
||
| 26 | { |
||
| 27 | /** |
||
| 28 | * @var array |
||
| 29 | */ |
||
| 30 | private $meta = []; |
||
| 31 | |||
| 32 | /** |
||
| 33 | * @param $key |
||
| 34 | * @return mixed |
||
| 35 | */ |
||
| 36 | public function getMeta($key) |
||
| 40 | |||
| 41 | /** |
||
| 42 | * @param string $key |
||
| 43 | * @param string $value |
||
| 44 | * |
||
| 45 | * @return $this |
||
| 46 | */ |
||
| 47 | public function addMeta($key, $value) |
||
| 48 | { |
||
| 49 | $this->meta[$key] = $value; |
||
| 50 | |||
| 51 | return $this; |
||
| 52 | } |
||
| 53 | |||
| 54 | protected function buildMeta(&$queries) |
||
| 62 | } |
||
| 63 |