update 1.0.8.0
Commits for version update
This commit is contained in:
24
vendor/laravelcollective/bus/src/MarshalException.php
vendored
Normal file
24
vendor/laravelcollective/bus/src/MarshalException.php
vendored
Normal file
@@ -0,0 +1,24 @@
|
||||
<?php
|
||||
|
||||
namespace Collective\Bus;
|
||||
|
||||
use ReflectionParameter;
|
||||
use RuntimeException;
|
||||
|
||||
class MarshalException extends RuntimeException
|
||||
{
|
||||
/**
|
||||
* Throw a new exception.
|
||||
*
|
||||
* @param string $command
|
||||
* @param \ReflectionParameter $parameter
|
||||
*
|
||||
* @throws static
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public static function whileMapping($command, ReflectionParameter $parameter)
|
||||
{
|
||||
throw new static("Unable to map parameter [{$parameter->name}] to command [{$command}]");
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user