Neos\Flow\Monitor\FileMonitor::getIdentifier PHP 메소드

getIdentifier() 공개 메소드

Returns the identifier of this monitor
public getIdentifier ( ) : string
리턴 string
    public function getIdentifier()
    {
        return $this->identifier;
    }

Usage Example

 /**
  * Caches the file modification times
  *
  * @return void
  */
 public function shutdownObject()
 {
     if ($this->modificationTimesChanged === true) {
         $this->cache->set($this->fileMonitor->getIdentifier() . '_filesAndModificationTimes', json_encode($this->filesAndModificationTimes));
     }
 }