This commit is contained in:
Nuno Maduro
2020-05-11 18:38:30 +02:00
commit de2929077b
112 changed files with 6211 additions and 0 deletions

View File

@ -0,0 +1,60 @@
<?php
declare(strict_types=1);
namespace Pest\Support;
/**
* @internal
*/
final class HigherOrderMessage
{
/**
* The filename where the function was originally called.
*
* @readonly
*
* @var string
*/
public $filename;
/**
* The line where the function was originally called.
*
* @readonly
*
* @var int
*/
public $line;
/**
* The method name.
*
* @readonly
*
* @var string
*/
public $methodName;
/**
* The arguments.
*
* @var array<int, mixed>
*
* @readonly
*/
public $arguments;
/**
* Creates a new higher order message.
*
* @param array<int, mixed> $arguments
*/
public function __construct(string $filename, int $line, string $methodName, array $arguments)
{
$this->filename = $filename;
$this->line = $line;
$this->methodName = $methodName;
$this->arguments = $arguments;
}
}