Exemple #1
0
 public function addTag(TagInterface $tag)
 {
     if (!$tag instanceof ExifTagInterface) {
         throw new \InvalidArgumentException(sprintf('The tag "%s" must be implement Exifer\\Exif\\ExifTagInterface', $tag->getTagName()));
     }
     return parent::addTag($tag);
 }