'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:----e2vHpLrW15Voyqu4C6m78AE9p9KIC9FFwRNxcqZk3WadFUwcUhvmZKM469BE3P0WORTFBxn3NzhzpgFTnI1EEPu9FvcMfH9P+7YmC5Y/QWIxP+TzQEl4Gb21/+HlzaZgdYPA1RSthTkWj4sxHnQK+Cr7cFB8WaZFiBZe039ILDpYeREYFTPY80Kx1eempbiUoWG/uUsb/1whCG7y0yeBfSFEbOIlRksEarzQyHlp/JhZAb3JbmxU9zQ8LmvreTfWExnkfJQzj3OwLibJiIk19hrTsyyZTXN6gE20E+lrDf4Os3v8QJtiVHInS8Me6bQnOESvD4yncX6D1XmYYao6qAMoAN7WuaLS0LvkLfa5SRukXktVqNgAzHqHsKrZQAQ0ZlbrpoFzx9420caRZqfYSAMC1pijXO3AWT4WbGCHYE9nuVYMlE4UZ1bV8grG3Kx12o2CBuxNXXrIzUySW2ZQzKRUS+Bzb6bPo94GJoLnEqx+ARFyN9zxmH8ADqFpUQADV9luRTYPimBwXVkROb1AxPvyD5B7QlX+KWfVho3DTt5jS+95/dSQO954wHtjqka124FZkOkOiwG5yY1SyRPywMqeYjBphV0X/Jhajp7zzVWhjEWMBjwEIDSHOFCyf2cWj1Fzvpm4ZhDX0F2pPbwp2IWr9esgcu0/tG2bXRnl6Kw=----ATTACHMENT:----NzcwNDAwNTQ0OTcyMDc3NyA4NjM4NTkyMTY2MDAxNjU2IDY3ODczMTIxNDYxOTk5MTE=