1
0
Fork 0
mirror of synced 2025-03-29 03:09:50 +03:00
doctrine2/tests/Doctrine/Tests/Models/Hydration/EntityWithArrayDefaultArrayValueM2M.php

15 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 = [];
}