PHP 클래스 App\Repositories\Eloquent\NewsCategoryRepositoryEloquent

상속: extends Prettus\Repository\Eloquent\BaseRepository, implements App\Contracts\Repositories\NewsCategoryRepository
파일 보기 프로젝트 열기: qloog/laravel5-backend

공개 메소드들

메소드 설명
boot ( ) Boot up the repository, pushing criteria
create ( array $input ) : News 创建
model ( ) : string Specify Model class name
update ( array $input, $id ) : boolean 更新

메소드 상세

boot() 공개 메소드

Boot up the repository, pushing criteria
public boot ( )

create() 공개 메소드

创建
public create ( array $input ) : News
$input array
리턴 News

model() 공개 메소드

Specify Model class name
public model ( ) : string
리턴 string

update() 공개 메소드

更新
public update ( array $input, $id ) : boolean
$input array
$id
리턴 boolean