Пример #1
0
<?php

require_once __DIR__ . '/../vendor/autoload.php';
use Scattr\Runner\JobApplication;
define('APP_ROOT', __DIR__);
$application = new JobApplication();
$application->run();
Пример #2
0
<?php

require_once __DIR__ . '/../vendor/autoload.php';
use Scattr\Runner\JobApplication;
define('APP_ROOT', __DIR__);
putenv('SCATTR_USERNAME=johndoe');
putenv('SCATTR_PASSWORD=secret');
putenv('SCATTR_ACCOUNT=test');
putenv('SCATTR_POOLNAME=infrastructureName');
putenv('SCATTR_URL=houston.local');
$app = new JobApplication();
$app->run();