Image::getClassName и проверка на существование изображения по параметру error.

This commit is contained in:
Alexander Demidov
2013-11-29 18:33:05 +04:00
parent ce458afdbd
commit cb1eb1369b
2 changed files with 10 additions and 3 deletions

View File

@ -20,6 +20,11 @@ abstract class Image extends File
protected static $sizes = array();
public static function getClassName()
{
return get_called_class();
}
/**
* @param $class string|StdClass
* @throws ErrorException