I\'m facing an issue I unfortunatly could not resolve so far. I created a database class
into app/db/mysql/database.php
with the following content
Question was already edited, but for people who are just heading straight over to the answers, here it is..
You should be using correct namespaces for the objects in your methods, either "use" them or prefix them with the root namespace;
or simply;
self::$connection = new \PDO("mysql:host=$host;dbname=$base", $user, $pass);