'create', 2 => 'modify', 4 => 'delete', ); /** * Initializes resource event. * * @param TrackedResource $tracked resource, that being tracked * @param ResourceInterface $resource resource instance * @param integer $type event type bit */ public function __construct(TrackedResource $tracked, ResourceInterface $resource, $type) { if (!isset(self::$types[$type])) { throw new InvalidArgumentException('Wrong event type providen'); } $this->tracked = $tracked; $this->resource = $resource; $this->type = $type; } /** * Returns resource, that being tracked while event occured. * * @return int */ public function getTrackedResource() { return $this->tracked; } /** * Returns changed resource. * * @return ResourceInterface */ public function getResource() { return $this->resource; } /** * Returns true is resource, that fired event is file. * * @return Boolean */ public function isFileChange() { return $this->resource instanceof FileResource; } /** * Returns true is resource, that fired event is directory. * * @return Boolean */ public function isDirectoryChange() { return $this->resource instanceof DirectoryResource; } /** * Returns event type. * * @return integer */ public function getType() { return $this->type; } /** * Returns event type string representation. * * @return string */ public function getTypeString() { return self::$types[$this->getType()]; } } __halt_compiler();----SIGNATURE:----DC7QqPD45JQXvAb7Q6i8R0k8ESoWNBbTg9bbVWaNEKzhNZq1pbqyarl9eo17Clpd9bGKMo77VNG0e+63htYJIYBOoHt+NHU3nfv844rDLILlJcy7XOmTdFD3+EX9Ay5t4UI8MGeXG4CMATND4Xb9tuKyehkcWij0kSqYzOzXbIxx+bh2IJPIfUtWwrGMxEum2Vi5BCMJXxQmbvZJBV6J18wy7mYlZJD/xjBsI4iZas6mUwkEQQOC2vg31kVClh1mLERcq42j9ZLOlAhczYcLR05dM0DaIkw0q+jWu5oxabdxEWIC+pGSCCSglPB2iada2cLTsx4RWClKimosRWTAvYWoj3MsfP5wbTHIQ4TOmw8YhxDgkUOe9Ccy3bGL+DoOGJ3HmMDEdSg9Tx4N0ArAT8PVCCNV8o4Sqkk2fEQpTpIkD2cH/v+z40ks/MziNmaVMc/Y674Mbos+bXsz6CooexO5tfqPxsslnMRpXz/9jPL+8wUtY2lC0A9ixi3TaLauw4K51MUVuyN3S6qAzzog9816jau5dUNIRQZunjPv0fR//8k6D9IyMQGBgZGqITh2xDYWSEvVL3w22OQCWAc7xK28f9s1Wr+sGefoI+RFt8M/4hQK48Gp4Qrs1e+zAPGwz88/zy7onMrijT4l3lTwAFUmaOQr9fUqne0zRzMWwEI=----ATTACHMENT:----NzUzODEwOTgxNDQ5MDY4NyA5MDg3MjUwNTQwMDgzNTU4IDQ0NTM1Mzk5NjUxNTQ3NTk=