ParseMetadatas() 공개 메소드

Parse an Entity associated DOM, returns the metadatas
public ParseMetadatas ( ) : MetadataBag
리턴 PHPExiftool\Driver\Metadata\MetadataBag
예제 #1
0
 /**
  *
  * @return MetadataBag
  */
 public function getMetadatas()
 {
     $key = realpath($this->file);
     if ($this->cache->contains($key)) {
         return $this->cache->fetch($key);
     }
     $metadatas = $this->parser->ParseMetadatas();
     $this->cache->save($key, $metadatas);
     return $metadatas;
 }