Patchwork\Exceptions\CallbackException::__construct PHP Method

__construct() public method

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

Usage Example

コード例 #1
0
ファイル: Exceptions.php プロジェクト: samsonasik/patchwork
 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