Skip to content

Commit

Permalink
Fix missing functions in \Illuminate\Support\Testing\Fakes\BusFake (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
Naouak authored and taylorotwell committed Feb 1, 2018
1 parent f3e1895 commit 8e17cca
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions src/Illuminate/Support/Testing/Fakes/BusFake.php
Original file line number Diff line number Diff line change
Expand Up @@ -129,4 +129,37 @@ public function pipeThrough(array $pipes)
{
//
}

/**
* Determine if the given command has a handler.
*
* @param mixed $command
* @return bool
*/
public function hasCommandHandler($command)
{
return false;
}

/**
* Retrieve the handler for a command.
*
* @param mixed $command
* @return bool|mixed
*/
public function getCommandHandler($command)
{
return false;
}

/**
* Map a command to a handler.
*
* @param array $map
* @return $this
*/
public function map(array $map)
{
return $this;
}
}

0 comments on commit 8e17cca

Please sign in to comment.