Patchwork\Exceptions\CallbackException::__construct PHP Méthode

__construct() public méthode

public __construct ( $callback )
    function __construct($callback)
    {
        parent::__construct(sprintf($this->message, Utils\callableToString($callback)));
    }

Usage Example

Exemple #1
0
 function __construct($callback)
 {
     $this->message = "The file that defines %s() was included earlier than Patchwork. " . "This is likely a result of an improper setup; see readme for details.";
     parent::__construct($callback);
 }
All Usage Examples Of Patchwork\Exceptions\CallbackException::__construct
CallbackException