for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* File containing the {@see Mailcode_Commands_Command_ShowVariable} class.
*
* @package Mailcode
* @subpackage Collection
* @see Mailcode_Commands_Command_ShowVariable
*/
declare(strict_types=1);
namespace Mailcode;
* Mailcode command: show a variable value.
* @author Sebastian Mordziol <[email protected]>
class Mailcode_Collection_Error_Message extends Mailcode_Collection_Error
{
public function __construct(string $matchedText, int $code, string $message, ?object $subject=null)
$this->matchedText = $matchedText;
$this->code = $code;
$this->message = $message;
if($subject instanceof Mailcode_Commands_Command)
$this->command = $subject;
}