Просмотр файла vendor/deployer/deployer/src/Component/Pimple/Exception/UnknownIdentifierException.php

Размер файла: 732B
<?php declare(strict_types=1);

/* (c) Anton Medvedev <[email protected]>
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 */

namespace Deployer\Component\Pimple\Exception;

use Psr\Container\NotFoundExceptionInterface;

/**
 * The identifier of a valid service or parameter was expected.
 *
 * @author Pascal Luna <[email protected]>
 */
class UnknownIdentifierException extends \InvalidArgumentException implements NotFoundExceptionInterface
{
    /**
     * @param string $id The unknown identifier
     */
    public function __construct(string $id)
    {
        parent::__construct(\sprintf('Identifier "%s" is not defined.', $id));
    }
}