1234567891011121314151617181920212223242526272829303132 |
- <?php
- /**
- * Created by PhpStorm.
- * User: robin
- * Date: 6/10/16
- * Time: 3:09 PM
- */
-
-
- use Luticate\Package\DataAccess\SP\SpGetAddresses;
- use Luticate\Utils\Controller\LuticateApplication;
-
- require_once "../vendor/autoload.php";
-
- require_once "generated/Package/DataAccess/SP/SpGetAddresses.php";
- require_once "generated/Package/Dbo/SpGetAddressesDbo.php";
- require_once "generated/Package/Dbo/SpGetAddressesDboArray.php";
-
- $config = ['databases' => [
- [
- 'name' => 'mydb',
- 'driver' => 'pgsql',
- 'host' => '172.17.0.1',
- 'database' => 'intra_betaclean',
- 'username' => 'dev',
- 'password' => 'dev'
- ]
- ]];
- $app = new LuticateApplication($config);
- $app->setupDatabases();
-
- var_dump(SpGetAddresses::execute(""));
|