where() public method

Get modules based on where clause.
public where ( string $key, mixed $value ) : Collection
$key string
$value mixed
return Collection
Beispiel #1
0
 /**
  * Get modules based on where clause.
  *
  * @param string $key
  * @param mixed  $value
  *
  * @return Collection
  */
 public function where($key, $value)
 {
     return $this->repository->where($key, $value);
 }