| ( ! ) Fatal error: Uncaught Error: Using $this when not in object context in /var/www/html/php7cookbook/source/Application/Database/Connection.php on line 48 | ||||
|---|---|---|---|---|
| ( ! ) Error: Using $this when not in object context in /var/www/html/php7cookbook/source/Application/Database/Connection.php on line 48 | ||||
| Call Stack | ||||
| # | Time | Memory | Function | Location |
| 1 | 0.0004 | 357600 | {main}( ) | .../chap_04_oop_factory_pattern_example.php:0 |
| 2 | 0.0004 | 357632 | Application\Database\Connection::factory( $driver = 'mysql', $dbname = 'php7cookbook', $host = 'localhost', $user = 'test', $pwd = 'password', $options = ??? ) | .../chap_04_oop_factory_pattern_example.php:7 |