Caffeinated\Modules\Repositories\LocalRepository::where PHP 메소드

where() 공개 메소드

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