24 lines
349 B
PHP
24 lines
349 B
PHP
|
<?php
|
||
|
|
||
|
namespace Doctrine\Tests\Models\ManyToManyPersister;
|
||
|
|
||
|
/**
|
||
|
* @Entity
|
||
|
* @Table(name="manytomanypersister_other_parent")
|
||
|
*/
|
||
|
class OtherParentClass
|
||
|
{
|
||
|
/**
|
||
|
* @Id
|
||
|
* @Column(name="id", type="integer")
|
||
|
*
|
||
|
* @var integer
|
||
|
*/
|
||
|
public $id;
|
||
|
|
||
|
public function __construct(int $id)
|
||
|
{
|
||
|
$this->id = $id;
|
||
|
}
|
||
|
}
|