Property | Type | Description | |
---|---|---|---|
$with |
Method | Description | |
---|---|---|
destroy ( $id ) : mixed | Delete employee. | |
forceDelete ( $id ) : mixed | Force Delete employee. | |
index ( ) : Illuminate\Database\Eloquent\Collection | Get all employees. | |
repo ( ) | ||
restore ( $id ) : mixed | Restore employee. | |
show ( integer $id ) : Illuminate\Database\Eloquent\Model | Get employee by id :id. | |
store ( |
Store new employee. | |
update ( |
Update employee. |
public index ( ) : Illuminate\Database\Eloquent\Collection | ||
return | Illuminate\Database\Eloquent\Collection |