PHP 클래스 PartKeepr\ImageBundle\Entity\Image

상속: extends PartKeepr\UploadedFileBundle\Entity\UploadedFile
파일 보기 프로젝트 열기: partkeepr/PartKeepr 1 사용 예제들

공개 메소드들

메소드 설명
__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.