PHP Class App\Ninja\Repositories\BaseRepository

Exibir arquivo Open project: hillelcoren/invoice-ninja Class Usage Examples

Public Methods

Method Description
archive ( $entity )
delete ( $entity )
findByPublicIds ( $ids ) : mixed
findByPublicIdsWithTrashed ( $ids ) : mixed
getClassName ( ) : null
restore ( $entity )

Private Methods

Method Description
getEventClass ( $entity, $type ) : string
getInstance ( ) : mixed

Method Details

archive() public method

public archive ( $entity )
$entity

delete() public method

public delete ( $entity )
$entity

findByPublicIds() public method

public findByPublicIds ( $ids ) : mixed
$ids
return mixed

findByPublicIdsWithTrashed() public method

public findByPublicIdsWithTrashed ( $ids ) : mixed
$ids
return mixed

getClassName() public method

public getClassName ( ) : null
return null

restore() public method

public restore ( $entity )
$entity