Conditions | 1 |
Paths | 1 |
Total Lines | 10 |
Code Lines | 7 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
31 | public function __construct($query, array $bindings, $previous) |
||
32 | { |
||
33 | parent::__construct('', 0, $previous); |
||
34 | |||
35 | $this->query = $query; |
||
36 | $this->bindings = $bindings; |
||
37 | $this->previous = $previous; |
||
|
|||
38 | $this->code = $previous->getCode(); |
||
39 | $this->message = $this->formatMessage($query, $bindings, $previous); |
||
40 | } |
||
41 | |||
76 |
This check looks for access to properties that are not accessible from the current context.
If you need to make a property accessible to another context you can either raise its visibility level or provide an accessible getter in the defining class.