Skip to content

Commit

Permalink
move method
Browse files Browse the repository at this point in the history
  • Loading branch information
taylorotwell committed Sep 20, 2016
1 parent cfeecb1 commit ce28029
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions src/Illuminate/Support/Testing/Fakes/QueueFake.php
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,17 @@ public function hasPushed($job)
return isset($this->jobs[$job]) && ! empty($this->jobs[$job]);
}

/**
* Resolve a queue connection instance.
*
* @param string $name
* @return \Illuminate\Contracts\Queue\Queue
*/
public function connection($value = null)
{
return $this;
}

/**
* Get the size of the queue.
*
Expand Down Expand Up @@ -191,15 +202,4 @@ public function pop($queue = null)
{
//
}

/**
* Return fake queue.
*
* @param string $value
* @return \Illuminate\Contracts\Queue\Queue
*/
public function connection($value = null)
{
return $this;
}
}

0 comments on commit ce28029

Please sign in to comment.