1 | <?php |
||
12 | class Watcher |
||
13 | { |
||
14 | /** @var \Symfony\Component\Finder\Finder */ |
||
15 | protected $finder; |
||
16 | |||
17 | /** @var $string */ |
||
18 | protected $phpunitArguments; |
||
19 | |||
20 | /** @var bool */ |
||
21 | protected $notifications; |
||
22 | |||
23 | /** @var \React\EventLoop\LibEventLoop */ |
||
24 | protected $loop; |
||
25 | |||
26 | /** @var \Spatie\PhpUnitWatcher\Terminal */ |
||
27 | protected $terminal; |
||
28 | |||
29 | public function __construct(Finder $finder) |
||
37 | |||
38 | public function usePhpunitArguments(string $arguments) |
||
44 | |||
45 | public function setNotifications(bool $status) { |
||
48 | |||
49 | public function startWatching() |
||
71 | } |
||
72 |