/**
  * Constructor.
  *
  * @param string $resource The file path to the resource
  * @param string|null $pattern A pattern to restrict monitored files
  * @param array $excludedFilesPaths
  */
 public function __construct($resource, $pattern = null, $excludedFilesPaths = [])
 {
     $this->excludedFilesPaths = $excludedFilesPaths;
     parent::__construct($resource, $pattern);
 }