* @copyright Since 2007 PrestaShop SA and Contributors * @license https://opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0) */ declare(strict_types=1); namespace PrestaShopBundle\Routing\Linter\Exception; class ControllerNotFoundException extends LinterException { /** * @var string */ private $invalidController; /** * {@inheritDoc} */ public function __construct($message, string $invalidController) { parent::__construct($message, 0, null); $this->invalidController = $invalidController; } /** * @return string */ public function getInvalidController() { return $this->invalidController; } }