PHP 클래스 Imbo\Image\ImagePreparation

저자: Christer Edvartsen ([email protected])
상속: implements Imbo\EventListener\ListenerInterface
파일 보기 프로젝트 열기: imbo/imbo 1 사용 예제들

공개 메소드들

메소드 설명
getSubscribedEvents ( )
prepareImage ( Imbo\EventManager\EventInterface $event ) Prepare an image

비공개 메소드들

메소드 설명
generateImageIdentifier ( Imbo\EventManager\EventInterface $event, Image $image ) : string Using the configured image identifier generator, attempt to generate a unique image identifier for the given image until we either have found a unique ID or we hit the maximum allowed attempts.

메소드 상세

getSubscribedEvents() 공개 정적인 메소드

public static getSubscribedEvents ( )

prepareImage() 공개 메소드

This method should prepare an image object from php://input. The method must also figure out the width, height, mime type and extension of the image.
public prepareImage ( Imbo\EventManager\EventInterface $event )
$event Imbo\EventManager\EventInterface The current event