PHP Trait SahusoftCom\EloquentImageMutator\EloquentImageMutatorTrait

Show file Open project: sahusoftcom/eloquent-image-mutator

Public Methods

Method Description
boot ( )
getAttributeValue ( $key )
retrievePhotoFieldValue ( $key, $value )
setAttribute ( $key, $value )
setImageAttributeForImageFieldLocalObject ( $key, $value )
setImageAttributeForUploadedFileObject ( $key, $value )
setImageAttributeForUrlImage ( $key, $value )
toArray ( )

Method Details

boot() public static method

public static boot ( )

getAttributeValue() public method

public getAttributeValue ( $key )

retrievePhotoFieldValue() public method

public retrievePhotoFieldValue ( $key, $value )

setAttribute() public method

public setAttribute ( $key, $value )

setImageAttributeForImageFieldLocalObject() public method

setImageAttributeForUploadedFileObject() public method

public setImageAttributeForUploadedFileObject ( $key, $value )

setImageAttributeForUrlImage() public method

public setImageAttributeForUrlImage ( $key, $value )

toArray() public method

public toArray ( )