コード例 #1
0
 public function shouldProcess(Version $version)
 {
     if ($this->getFormat() == self::FORMAT_JPEG) {
         return $version->getTypeObject()->getGenericType() == Type::T_IMAGE && $version->getTypeObject()->getName() != 'JPEG';
     }
     return false;
 }
コード例 #2
0
 public function shouldProcess(Version $version)
 {
     return $version->getTypeObject()->getGenericType() == Type::T_IMAGE;
 }