PHP 인터페이스 Imbo\Image\Identifier\Generator\GeneratorInterface

저자: Espen Hovlandsdal ([email protected])
파일 보기 프로젝트 열기: imbo/imbo

공개 메소드들

메소드 설명
generate ( Image $image ) : string Generate an image identifier
isDeterministic ( ) : boolean Return a boolean indicating whether or not the generator is deterministic. Meaning that it will always return the same identifier for the same image.

메소드 상세

generate() 공개 메소드

Generate an image identifier
public generate ( Image $image ) : string
$image Imbo\Model\Image The image to generate an image identifier for
리턴 string A valid image identifier, between 1 and 255 characters

isDeterministic() 공개 메소드

Return a boolean indicating whether or not the generator is deterministic. Meaning that it will always return the same identifier for the same image.
public isDeterministic ( ) : boolean
리턴 boolean