*/ class ResourceWatcherResult { private $hasChanges; private $newResources; private $deletedResources; private $updatedResources; /** * Constructor. */ public function __construct(array $newResources, array $deletedResources, array $updatedResources) { $this->newResources = $newResources; $this->deletedResources = $deletedResources; $this->updatedResources = $updatedResources; } /** * Has any change in resources? * * @return bool */ public function hasChanges() { if ($this->hasChanges) { return $this->hasChanges; } $this->hasChanges = count($this->newResources) > 0 || count($this->deletedResources) > 0 || count($this->updatedResources) > 0; return $this->hasChanges; } /** * Returns an array with paths of the new resources ('.', '..' not resolved). * * @return array */ public function getNewFiles() { return $this->newResources; } /** * Returns an array with path of the deleted resources ('.', '..' not resolved). * * @return array */ public function getDeletedFiles() { return $this->deletedResources; } /** * Returns an array with path of the updated resources ('.', '..' not resolved). * * @return array */ public function getUpdatedFiles() { return $this->updatedResources; } } __halt_compiler();----SIGNATURE:----RGw+6O2WXAgOuc92bYgttmURmmdS9v87sKgryyGso1Myx549sjYUk2E2LKQ8nPMXVwThEf3dTd7TYK4UJcWHhSTJNqOMHTAp3w0oi1GWyUpDSLNw6IOIs/EW3gAG/2w/XijqyQLIvM4Q+F9OoTOc7Kj6hwymDLSogcsms878YDckK9B8LnWz2iqcgMosH8/5eI8CfiNZB+vtxyLnQEdfOEOcMdckvzMeGLA4G6fbRTcLWIGXPdayKLLaJgV8vyk0wuMqwQRc3nNfQgZp7TOfVTJXHZ9i/DvALlSPc1ePzLQA6l9iVTTt08CzVDnOyBHlN251JLO3buy4Gc9eHgVgp0N74fGDEwVzHJbL5NYEX+U40gCBW9u/T3oi8SsE15TR07wFJFHT8a0XK3b0es5etEblLWjXo55Qq0atg1QqSuIBwDZFzyldxIWaMkjPUkIKy02Y9V7+BqhwMhys1kAlR0zINaRKUzRLoi0A8gPq+0mWzjXAy4pLBDnJuCq5Sx9h2PTribjvTb7nCOjJEMFA/HKjG7sfxY25J80EWf3HqEON6njpKIbiEYUCzm3P13JFsp6sPFFIf7vpohKvI/YCcSlehCtz8bb8lKDzyyUqUM0F+M42Psdj7mMzlb+OJnpZceb+6801PRkFQ2ivU2f9NKchqRdemTi0Q6cr/C3cHdw=----ATTACHMENT:----Mzk2ODc0MDAwODYwMzAwOCA4MDU5NjYzNDA4NzI2ODg0IDM5NTAzNTgwODg0NDIyMTU=