您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

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(""));