PHP Interface Gitamin\Services\DataCollector\Contracts\DataCollectorInterface

Afficher le fichier Open project: gitaminhq/gitamin

Méthodes publiques

Méthode Description
all ( array $columns = ['*'] ) : mixed
applyCriteria ( )
create ( array $data ) : mixed
delete ( $id ) : mixed
find ( $id, array $columns = ['*'] ) : mixed
findAllBy ( $attribute, $value, array $columns = ['*'] ) : mixed
findBy ( $attribute, $value, array $columns = ['*'] ) : mixed
findOrFail ( $id, array $columns = ['*'] ) : mixed
findOrNew ( $id, array $columns = ['*'] ) : mixed
findWhere ( array $where, array $columns = ['*'] ) : Illuminate\Database\Eloquent\Collection | null
getByCriteria ( Criteria $criteria )
getCriteria ( ) : mixed
lists ( string $value, string $key = null ) : array
makeModel ( ) : Model Creates instance of model.
pushCriteria ( Criteria $criteria )
raw ( mixed $value ) : Illuminate\Database\Query\Expression Get a new raw query expression.
resetCriteria ( )
skipCriteria ( boolean $flag = true )
update ( array $data, $id, string $attribute = 'id' ) : mixed

Method Details

all() public méthode

public all ( array $columns = ['*'] ) : mixed
$columns array
Résultat mixed

applyCriteria() public méthode

public applyCriteria ( )

create() public méthode

public create ( array $data ) : mixed
$data array
Résultat mixed

delete() public méthode

public delete ( $id ) : mixed
$id
Résultat mixed

find() public méthode

public find ( $id, array $columns = ['*'] ) : mixed
$id
$columns array
Résultat mixed

findAllBy() public méthode

public findAllBy ( $attribute, $value, array $columns = ['*'] ) : mixed
$attribute
$value
$columns array
Résultat mixed

findBy() public méthode

public findBy ( $attribute, $value, array $columns = ['*'] ) : mixed
$attribute
$value
$columns array
Résultat mixed

findOrFail() public méthode

public findOrFail ( $id, array $columns = ['*'] ) : mixed
$id
$columns array
Résultat mixed

findOrNew() public méthode

public findOrNew ( $id, array $columns = ['*'] ) : mixed
$id
$columns array
Résultat mixed

findWhere() public méthode

public findWhere ( array $where, array $columns = ['*'] ) : Illuminate\Database\Eloquent\Collection | null
$where array
$columns array
Résultat Illuminate\Database\Eloquent\Collection | null

getByCriteria() public méthode

public getByCriteria ( Criteria $criteria )
$criteria Gitamin\Services\DataCollector\Criteria\Criteria

getCriteria() public méthode

public getCriteria ( ) : mixed
Résultat mixed

lists() public méthode

public lists ( string $value, string $key = null ) : array
$value string
$key string
Résultat array

makeModel() public méthode

Creates instance of model.
public makeModel ( ) : Model
Résultat Illuminate\Database\Eloquent\Model

pushCriteria() public méthode

public pushCriteria ( Criteria $criteria )
$criteria Gitamin\Services\DataCollector\Criteria\Criteria

raw() public méthode

Get a new raw query expression.
public raw ( mixed $value ) : Illuminate\Database\Query\Expression
$value mixed
Résultat Illuminate\Database\Query\Expression

resetCriteria() public méthode

public resetCriteria ( )

skipCriteria() public méthode

public skipCriteria ( boolean $flag = true )
$flag boolean

update() public méthode

public update ( array $data, $id, string $attribute = 'id' ) : mixed
$data array
$id
$attribute string
Résultat mixed