Documentation

Watcher
in package

FinalYes

Table of Contents

Properties

$exceptionHandler  : ExceptionHandler
$paths  : array<string|int, mixed>

Methods

__construct()  : mixed
Create a new instance.
watch()  : void
Watch the files and recompile the AOP classes.

Properties

$exceptionHandler read-only

private ExceptionHandler $exceptionHandler

$paths read-only

private array<string|int, mixed> $paths

Methods

__construct()

Create a new instance.

public __construct(array<int, string> $paths, ExceptionHandler $exceptionHandler) : mixed
Parameters
$paths : array<int, string>

The paths to watch

$exceptionHandler : ExceptionHandler

The exception handler

watch()

Watch the files and recompile the AOP classes.

public watch(Command $command, Factory $viewFactory) : void
Parameters
$command : Command

The command

$viewFactory : Factory

The view factory


        
On this page

Search results