You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

test.php 774B

1234567891011121314151617181920212223242526272829303132
  1. <?php
  2. /**
  3. * Created by PhpStorm.
  4. * User: robin
  5. * Date: 6/10/16
  6. * Time: 3:09 PM
  7. */
  8. use Luticate\Package\DataAccess\SP\SpGetAddresses;
  9. use Luticate\Utils\Controller\LuticateApplication;
  10. require_once "../vendor/autoload.php";
  11. require_once "generated/Package/DataAccess/SP/SpGetAddresses.php";
  12. require_once "generated/Package/Dbo/SpGetAddressesDbo.php";
  13. require_once "generated/Package/Dbo/SpGetAddressesDboArray.php";
  14. $config = ['databases' => [
  15. [
  16. 'name' => 'mydb',
  17. 'driver' => 'pgsql',
  18. 'host' => '172.17.0.1',
  19. 'database' => 'intra_betaclean',
  20. 'username' => 'dev',
  21. 'password' => 'dev'
  22. ]
  23. ]];
  24. $app = new LuticateApplication($config);
  25. $app->setupDatabases();
  26. var_dump(SpGetAddresses::execute(""));