public function getFirstBy($key, $value, array $with = array())
    {
        return $this->make($with)->where($key, '=', $value)->first();
    }
public function getFirstBy($key, $value, array $with = array())
    {
        return $this->make($with)->where($key, '=', $value)->first();
    }
public function getFirstBy ( $ key , $ value , array $ with = array ( ) ) { return $ this -> make ( $ with ) -> where ( $ key , '=' , $ value ) -> first ( ) ; }
Find an item by a key value

@param  string $key   [description]
@param  mixed $value [description]
@param  array $with  [description]
@return \Illuminate\Database\Eloquent\Model
Find an item by a key value