FsWithProcessDelegation.php 542 B

123456789101112131415161718192021
  1. <?php
  2. namespace Nesk\Rialto\Tests\Implementation;
  3. use Nesk\Rialto\ProcessSupervisor;
  4. use Nesk\Rialto\AbstractEntryPoint;
  5. class FsWithProcessDelegation extends AbstractEntryPoint
  6. {
  7. protected $forbiddenOptions = ['stop_timeout', 'foo'];
  8. public function __construct(array $userOptions = [])
  9. {
  10. parent::__construct(__DIR__.'/FsConnectionDelegate.js', new FsProcessDelegate, [], $userOptions);
  11. }
  12. public function getProcessSupervisor(): ProcessSupervisor
  13. {
  14. return parent::getProcessSupervisor();
  15. }
  16. }