Caffeinated\Modules\Repositories\LocalRepository::where PHP Method

where() public method

Get modules based on where clause.
public where ( string $key, mixed $value ) : Collection
$key string
$value mixed
return Collection
    public function where($key, $value)
    {
        return collect($this->all()->where($key, $value)->first());
    }