PHP Класс PartKeepr\ImageBundle\Entity\Image

Наследование: extends PartKeepr\UploadedFileBundle\Entity\UploadedFile
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
__construct ( string $type = null ) Constructs a new image object.

Защищенные методы

Метод Описание
setType ( string $type ) Sets the type of the image. Once the type is set, it may not be changed later.

Описание методов

__construct() публичный Метод

Constructs a new image object.
public __construct ( string $type = null )
$type string The type for the image, one of the IMAGE_ constants.

setType() защищенный Метод

Sets the type of the image. Once the type is set, it may not be changed later.
protected setType ( string $type )
$type string The type for the image, one of the IMAGE_ constants.