PHP Class App\Repositories\Eloquent\AlbumRepositoryEloquent

Inheritance: extends Prettus\Repository\Eloquent\BaseRepository, implements App\Contracts\Repositories\AlbumRepository
Mostrar archivo Open project: qloog/laravel5-backend

Public Methods

Method Description
boot ( ) Boot up the repository, pushing criteria
model ( ) : string Specify Model class name
storePhoto ( $albumId, array $photo = [] ) : array 上传并存储照片

Method Details

boot() public method

Boot up the repository, pushing criteria
public boot ( )

model() public method

Specify Model class name
public model ( ) : string
return string

storePhoto() public method

上传并存储照片
public storePhoto ( $albumId, array $photo = [] ) : array
$albumId
$photo array
return array