InvalidModelException.php 768 bytes
<?php declare(strict_types=1);
/**
 * Copyright (C) 2019 IRSTEA
 * All rights reserved.
 * @copyright 2019 IRSTEA
 * @author guillaume.perreal
 */
namespace Irstea\NgModelGeneratorBundle\Exceptions;
use Throwable;
/**
 * Class InvalidModelException
class InvalidModelException extends DomainException
    /**
     * @var string
    private $className;
    /**
     * {@inheritDoc}
    public function __construct(string $className, $message = '', Throwable $previous = null)
        parent::__construct($message, 0, $previous);
        $this->className = $className;
    /**
     * Get className.
     * @return string
    public function getClassName(): string
        return $this->className;