Create New Item
Item Type
File
Folder
Item Name
Search file in folder and subfolders...
Are you sure want to rename?
primogenial
/
languages
/
wp-content
/
plugins
/
mailpoet
/
vendor-prefixed
/
doctrine
/
orm
/
lib
/
Doctrine
/
ORM
/
Mapping
:
OneToOne.php
Advanced Search
Upload
New Item
Settings
Back
Back Up
Advanced Editor
Save
<?php declare (strict_types=1); namespace MailPoetVendor\Doctrine\ORM\Mapping; if (!defined('ABSPATH')) exit; use Attribute; use MailPoetVendor\Doctrine\Common\Annotations\Annotation\NamedArgumentConstructor; #[\Attribute(Attribute::TARGET_PROPERTY)] final class OneToOne implements Annotation { public $targetEntity; public $mappedBy; public $inversedBy; public $cascade; public $fetch = 'LAZY'; public $orphanRemoval = \false; public function __construct(?string $mappedBy = null, ?string $inversedBy = null, ?string $targetEntity = null, ?array $cascade = null, string $fetch = 'LAZY', bool $orphanRemoval = \false) { $this->mappedBy = $mappedBy; $this->inversedBy = $inversedBy; $this->targetEntity = $targetEntity; $this->cascade = $cascade; $this->fetch = $fetch; $this->orphanRemoval = $orphanRemoval; } }