/var/www/vhosts/ihelp.ro/httpdocs/vendor/imagine/imagine/src/Image
NameSizeModeActions
Fill/-0755rm
Histogram/-0755rm
Metadata/-0755rm
Palette/-0755rm
Point/-0755rm
AbstractFont.php36830644editdlrm
AbstractImage.php72280644editdlrm
AbstractImagine.php26670644editdlrm
AbstractLayers.php21410644editdlrm
Box.php32300644editdlrm
BoxInterface.php19720644editdlrm
FontInterface.php12780644editdlrm
Format.php32230644editdlrm
FormatList.php13780644editdlrm
ImageInterface.php64420644editdlrm
ImagineInterface.php27180644editdlrm
LayersInterface.php26860644editdlrm
ManipulatorInterface.php59140644editdlrm
Point.php21150644editdlrm
PointInterface.php10920644editdlrm
PointSigned.php17430644editdlrm
Profile.php16130644editdlrm
ProfileInterface.php5190644editdlrm
Edit: /var/www/vhosts/ihelp.ro/httpdocs/vendor/imagine/imagine/src/Image/Format.php (3223B)
id = $id; $this->mimeType = $mimeType; $this->canonicalFileExtension = $canonicalFileExtension; $this->alternativeIDs = $alternativeIDs; } /** * @return string */ public function getID() { return $this->id; } /** * @return string */ public function getMimeType() { return $this->mimeType; } /** * @return string */ public function getCanonicalFileExtension() { return $this->canonicalFileExtension; } /** * @return string[] */ public function getAlternativeIDs() { return $this->alternativeIDs; } /** * Get a format given its ID. * * @param static|string $format the format (a Format instance of a format ID) * * @return static|null */ public static function get($format) { return static::getList()->find($format); } /** * @return static[] */ public static function getAll() { return static::getList()->getAll(); } /** * @return \Imagine\Image\FormatList */ protected static function getList() { if (self::$all !== null) { return self::$all; } $class = new ReflectionClass(get_called_class()); $formats = array(); foreach ($class->getConstants() as $constantName => $constantValue) { if (strpos($constantName, 'ID_') === 0) { $formats[] = static::create($constantValue); } } self::$all = new FormatList($formats); return self::$all; } /** * @param string $formatID * * @return static */ protected static function create($formatID) { switch ($formatID) { case static::ID_JPEG: return new static($formatID, 'image/jpeg', 'jpg', array('jpg', 'pjpeg', 'jfif')); case static::ID_WBMP: return new static($formatID, 'image/vnd.wap.wbmp', $formatID); default: return new static($formatID, "image/{$formatID}", $formatID); } } }