public function __construct() { $dir = dirname(dirname(__DIR__)) . '/bin'; parent::__construct(new ChannelledProcess($dir . '/worker.php', $dir)); }