1: <?php
2:
3: namespace PHPixie\ORM\Steps\Step;
4:
5: class Query extends \PHPixie\ORM\Steps\Step
6: {
7: protected $query;
8:
9: public function __construct($query)
10: {
11: $this->query = $query;
12: }
13:
14: public function execute()
15: {
16: $this->query->execute();
17: }
18:
19: public function query()
20: {
21: return $this->query;
22: }
23:
24: public function usedConnections()
25: {
26: return array($this->query->connection());
27: }
28: }
29: