geno/wp-content/plugins/mailpoet/vendor-prefixed/symfony/dependency-injection/Reference.php
2024-02-01 11:54:18 +00:00

21 lines
477 B
PHP

<?php
namespace MailPoetVendor\Symfony\Component\DependencyInjection;
if (!defined('ABSPATH')) exit;
class Reference
{
private $id;
private $invalidBehavior;
public function __construct(string $id, int $invalidBehavior = ContainerInterface::EXCEPTION_ON_INVALID_REFERENCE)
{
$this->id = $id;
$this->invalidBehavior = $invalidBehavior;
}
public function __toString()
{
return $this->id;
}
public function getInvalidBehavior()
{
return $this->invalidBehavior;
}
}