1
0
mirror of synced 2025-02-02 21:41:45 +03:00
doctrine2/tests/Doctrine/Tests/Models/Hydration/EntityWithArrayDefaultArrayValueM2M.php

16 lines
321 B
PHP

<?php
namespace Doctrine\Tests\Models\Hydration;
/** @Entity */
class EntityWithArrayDefaultArrayValueM2M
{
const CLASSNAME = __CLASS__;
/** @Id @Column(type="integer") @GeneratedValue(strategy="AUTO") */
public $id;
/** @ManyToMany(targetEntity=SimpleEntity::class) */
public $collection = [];
}