PHP Class PartKeepr\ImageBundle\Entity\Image

Inheritance: extends PartKeepr\UploadedFileBundle\Entity\UploadedFile
Afficher le fichier Open project: partkeepr/PartKeepr Class Usage Examples

Méthodes publiques

Méthode Description
__construct ( string $type = null ) Constructs a new image object.

Méthodes protégées

Méthode Description
setType ( string $type ) Sets the type of the image. Once the type is set, it may not be changed later.

Method Details

__construct() public méthode

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

setType() protected méthode

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.