1
0
mirror of synced 2025-02-02 13:31:45 +03:00

#6613 #6614 removing dedicated DDC6613 model directory

This commit is contained in:
Marco Pivetta 2017-08-11 14:22:31 +02:00
parent 85dc707cc8
commit 5c5c8fc487
No known key found for this signature in database
GPG Key ID: 4167D3337FD9D629
2 changed files with 0 additions and 71 deletions

View File

@ -1,30 +0,0 @@
<?php
/**
*
* User: Uladzimir Struts <Sysaninster@gmail.com>
* Date: 11.08.2017
* Time: 13:12
*/
namespace Doctrine\Tests\Models\DDC6613;
/**
* @Table(name="ddc6613_phone")
*/
class Phone
{
/**
* @Id
* @GeneratedValue(strategy="NONE")
* @Column(type="integer")
*/
public $id;
public function __construct()
{
$this->id = uniqid('phone', true);
}
}

View File

@ -1,41 +0,0 @@
<?php
/**
*
* User: Uladzimir Struts <Sysaninster@gmail.com>
* Date: 11.08.2017
* Time: 13:12
*/
namespace Doctrine\Tests\Models\DDC6613;
use Doctrine\Common\Collections\ArrayCollection;
/**
* @Entity()
* @Table(name="ddc6613_user")
*/
class User
{
/**
* @Id
* @GeneratedValue(strategy="NONE")
* @Column(type="string")
*/
private $id;
/**
* @ManyToMany(targetEntity="Phone", fetch="LAZY", cascade={"remove", "detach"})
*/
public $phones;
public function __construct()
{
$this->id = uniqid('user', true);
$this->phones = new ArrayCollection();
}
}