danke aber errors hab ich schon alle an
public function __construct()
{
$this->instance = Connection::getInstance();
echo var_dump($instance);
}
Hier bekomme ich Null.
Wenn ich nur $instance = Connection::getInstance(); schreibe bekomme ich object(Connection)#2 (1) { ["instance:private"]=> object(PDO)#3 (0) { } }
Aber das hilft mir auch nicht wirklich!