vendor/symfony/serializer/Exception/MissingConstructorArgumentsException.php line 17

Open in your IDE?
  1. <?php
  2. /*
  3.  * This file is part of the Symfony package.
  4.  *
  5.  * (c) Fabien Potencier <[email protected]>
  6.  *
  7.  * For the full copyright and license information, please view the LICENSE
  8.  * file that was distributed with this source code.
  9.  */
  10. namespace Symfony\Component\Serializer\Exception;
  11. /**
  12.  * @author Maxime VEBER <[email protected]>
  13.  */
  14. class MissingConstructorArgumentsException extends RuntimeException
  15. {
  16.     /**
  17.      * @var string[]
  18.      */
  19.     private $missingArguments;
  20.     public function __construct(string $messageint $code 0\Throwable $previous null, array $missingArguments = [])
  21.     {
  22.         $this->missingArguments $missingArguments;
  23.         parent::__construct($message$code$previous);
  24.     }
  25.     /**
  26.      * @return string[]
  27.      */
  28.     public function getMissingConstructorArguments(): array
  29.     {
  30.         return $this->missingArguments;
  31.     }
  32. }