autoload
This commit is contained in:
parent
c91ccb9480
commit
078bdb1f5c
|
@ -13,5 +13,11 @@
|
|||
"email": "michal@fufle.net"
|
||||
}
|
||||
],
|
||||
"minimum-stability": "dev"
|
||||
"minimum-stability": "dev",
|
||||
"autoload": {
|
||||
"psr-4": {
|
||||
"Fufle\\": "src/",
|
||||
"App\\": "app/"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,9 +1,8 @@
|
|||
<?php
|
||||
require_once __DIR__ . '/../vendor/autoload.php';
|
||||
|
||||
use Fufle\Database;
|
||||
|
||||
echo SayHello::world();
|
||||
use App\Model\Job;
|
||||
use Fufle\Database\ConnectionManager;
|
||||
|
||||
$dns = 'pgsql:host=localhost;port=5432;dbname=dynamic_dev;user=test;password=pass123';
|
||||
ConnectionManager::Connect($dns);
|
||||
|
|
Loading…
Reference in New Issue