Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. MissingConstructorArgumentsException.php

class MissingConstructorArgumentsException

@author Maxime VEBER <maxime.veber@nekland.fr>

Hierarchy

  • class \Symfony\Component\Serializer\Exception\RuntimeException extends \Symfony\Component\Serializer\Exception\RuntimeException implements \Symfony\Component\Serializer\Exception\ExceptionInterface
    • class \Symfony\Component\Serializer\Exception\RuntimeException extends \Symfony\Component\Serializer\Exception\RuntimeException implements \Symfony\Component\Serializer\Exception\ExceptionInterface
      • class \Symfony\Component\Serializer\Exception\MissingConstructorArgumentsException extends \Symfony\Component\Serializer\Exception\RuntimeException

Expanded class hierarchy of MissingConstructorArgumentsException

2 files declare their use of MissingConstructorArgumentsException
AbstractNormalizer.php in vendor/symfony/serializer/Normalizer/AbstractNormalizer.php
AbstractObjectNormalizer.php in vendor/symfony/serializer/Normalizer/AbstractObjectNormalizer.php

File

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

Namespace

Symfony\Component\Serializer\Exception
View source
class MissingConstructorArgumentsException extends RuntimeException {
    
    /**
     * @param string[]          $missingArguments
     * @param class-string|null $class
     */
    public function __construct(string $message, int $code = 0, ?\Throwable $previous = null, array $missingArguments = [], ?string $class = null) {
        parent::__construct($message, $code, $previous);
    }
    
    /**
     * @return string[]
     */
    public function getMissingConstructorArguments() : array {
        return $this->missingArguments;
    }
    
    /**
     * @return class-string|null
     */
    public function getClass() : ?string {
        return $this->class;
    }

}

Members

Title Sort descending Modifiers Object type Summary
MissingConstructorArgumentsException::getClass public function
MissingConstructorArgumentsException::getMissingConstructorArguments public function
MissingConstructorArgumentsException::__construct public function

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal