| 1 | <?php |
||
| 14 | final class SelectCommand extends AbstractCommand |
||
| 15 | { |
||
| 16 | /** |
||
| 17 | * @var string |
||
| 18 | */ |
||
| 19 | private $name; |
||
| 20 | /** |
||
| 21 | * @var Tag |
||
| 22 | */ |
||
| 23 | private $tag; |
||
| 24 | |||
| 25 | /** |
||
| 26 | * SelectCommand constructor. |
||
| 27 | * @param Tag $tag |
||
| 28 | * @param string $name |
||
| 29 | */ |
||
| 30 | public function __construct(Tag $tag, string $name) |
||
| 35 | |||
| 36 | /** |
||
| 37 | * @return StreamInterface |
||
| 38 | */ |
||
| 39 | public function createStream(): StreamInterface |
||
| 48 | |||
| 49 | /** |
||
| 50 | * @return Tag |
||
| 51 | */ |
||
| 52 | public function getTag(): Tag |
||
| 56 | } |