| 1 | <?php |
||
| 31 | trait DriverAwareTrait |
||
| 32 | { |
||
| 33 | /** |
||
| 34 | * the driver |
||
| 35 | * |
||
| 36 | * @var DriverInterface |
||
| 37 | * @access protected |
||
| 38 | */ |
||
| 39 | protected $driver; |
||
| 40 | |||
| 41 | /** |
||
| 42 | * {@inheritDoc} |
||
| 43 | */ |
||
| 44 | public function setDriver(DriverInterface $driver) |
||
| 49 | |||
| 50 | /** |
||
| 51 | * {@inheritDoc} |
||
| 52 | */ |
||
| 53 | public function hasDriver()/*# : bool */ |
||
| 57 | |||
| 58 | /** |
||
| 59 | * {@inheritDoc} |
||
| 60 | */ |
||
| 61 | public function getDriver()/*# : DriverInterface */ |
||
| 71 | } |
||
| 72 |