1 | <?php |
||
9 | class DbContext { |
||
10 | |||
11 | private $driver; |
||
12 | private $container; |
||
13 | |||
14 | 33 | public function __construct(Container $container, $config = null) { |
|
23 | |||
24 | /** |
||
25 | * |
||
26 | * @return Driver |
||
27 | */ |
||
28 | 31 | public function getDriver() { |
|
31 | |||
32 | 33 | public static function getDriverClassName($driver) { |
|
40 | |||
41 | public function query($query, $bindData = false) { |
||
44 | |||
45 | } |
||
46 |
Our type inference engine in quite powerful, but sometimes the code does not provide enough clues to go by. In these cases we request you to add a
@return
annotation as described here.