1 | <?php |
||
24 | class NewOutputEvent extends JobEvent |
||
25 | { |
||
26 | const TYPE_STDOUT = 1; |
||
27 | const TYPE_STDERR = 2; |
||
28 | |||
29 | private $newOutput; |
||
30 | private $type; |
||
31 | |||
32 | 6 | public function __construct(Job $job, $newOutput, $type = self::TYPE_STDOUT) |
|
38 | |||
39 | 6 | public function getNewOutput() |
|
43 | |||
44 | public function setNewOutput($output) |
||
48 | |||
49 | public function getType() |
||
53 | } |