public function findFirstBy($key, $value, $operator = '=')
    {
        $query = $this->make();
        return $query->where($key, $operator, $value)->first();
    }
public function findFirstBy($key, $value, $operator = '=')
    {
        $query = $this->make();
        return $query->where($key, $operator, $value)->first();
    }
public function findFirstBy ( $ key , $ value , $ operator = '=' ) { $ query = $ this -> make ( ) ; return $ query -> where ( $ key , $ operator , $ value ) -> first ( ) ; }
returns the first model found by conditions

@param string $key
@param mixed $value
@param string $operator
@return Model
returns the first model found by conditions