PHP Class App\Repositories\Eloquent\RoleRepositoryEloquent

Inheritance: extends Prettus\Repository\Eloquent\BaseRepository, implements App\Contracts\Repositories\RoleRepository
Mostra file Open project: qloog/laravel5-backend

Public Methods

Method Description
boot ( ) Boot up the repository, pushing criteria
create ( array $input ) : boolean
model ( ) : string Specify Model class name
update ( array $input, $id ) : boolean

Method Details

boot() public method

Boot up the repository, pushing criteria
public boot ( )

create() public method

public create ( array $input ) : boolean
$input array
return boolean

model() public method

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

update() public method

public update ( array $input, $id ) : boolean
$input array
$id
return boolean