File "Entity.php"
Full Path: /home/warrior1/public_html/wp-content/plugins/mailpoet/vendor-prefixed/doctrine/orm/lib/Doctrine/ORM/Mapping/Entity.php
File size: 564 bytes
MIME-type: text/x-php
Charset: utf-8
<?php
declare (strict_types=1);
namespace MailPoetVendor\Doctrine\ORM\Mapping;
if (!defined('ABSPATH')) exit;
use Attribute;
use MailPoetVendor\Doctrine\Common\Annotations\Annotation\NamedArgumentConstructor;
use MailPoetVendor\Doctrine\ORM\EntityRepository;
#[\Attribute(Attribute::TARGET_CLASS)]
final class Entity implements Annotation
{
public $repositoryClass;
public $readOnly = \false;
public function __construct(?string $repositoryClass = null, bool $readOnly = \false)
{
$this->repositoryClass = $repositoryClass;
$this->readOnly = $readOnly;
}
}