App\Repositories\Role\EloquentRole::__construct PHP 메소드

__construct() 공개 메소드

Create a new repository instance.
public __construct ( Model $role ) : void
$role Illuminate\Database\Eloquent\Model
리턴 void
    public function __construct(Model $role)
    {
        $this->model = $role;
    }