PHP Class REBELinBLUE\Deployer\Repositories\EloquentUserRepository

Inheritance: extends EloquentRepository, implements REBELinBLUE\Deployer\Contracts\Repositories\UserRepositoryInterface
显示文件 Open project: rebelinblue/deployer

Public Methods

Method Description
__construct ( User $model ) EloquentUserRepository constructor.
create ( array $fields )
findByEmailToken ( $token )
updateById ( array $fields, $model_id )

Method Details

__construct() public method

EloquentUserRepository constructor.
public __construct ( User $model )
$model REBELinBLUE\Deployer\User

create() public method

public create ( array $fields )
$fields array

findByEmailToken() public method

public findByEmailToken ( $token )

updateById() public method

public updateById ( array $fields, $model_id )
$fields array