for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types = 1);
namespace Innmind\Compose\Exception;
use Innmind\Compose\Definition\Argument;
class ArgumentNotProvided extends RuntimeException
{
private $argument;
public function __construct(Argument $argument)
$this->argument = $argument;
parent::__construct((string) $argument->name());
}
public function argument(): Argument
return $this->argument;