#1573 removing unused API
This commit is contained in:
parent
4148220f9c
commit
d5c82094df
@ -2,8 +2,6 @@
|
||||
|
||||
namespace Doctrine\Tests\Models\VersionedOneToMany;
|
||||
|
||||
use Doctrine\Common\Collections\ArrayCollection;
|
||||
|
||||
/**
|
||||
* @Entity
|
||||
* @Table(name="article")
|
||||
@ -23,7 +21,7 @@ class Article
|
||||
public $name;
|
||||
|
||||
/**
|
||||
* @ManyToOne(targetEntity="Category", inversedBy="category", cascade={"merge", "persist"})
|
||||
* @ManyToOne(targetEntity="Category", cascade={"merge", "persist"})
|
||||
*/
|
||||
public $category;
|
||||
|
||||
@ -34,12 +32,4 @@ class Article
|
||||
* @Version
|
||||
*/
|
||||
public $version;
|
||||
|
||||
/**
|
||||
* Category constructor.
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
$this->tags = new ArrayCollection();
|
||||
}
|
||||
}
|
||||
|
@ -2,8 +2,6 @@
|
||||
|
||||
namespace Doctrine\Tests\Models\VersionedOneToMany;
|
||||
|
||||
use Doctrine\Common\Collections\ArrayCollection;
|
||||
|
||||
/**
|
||||
* @Entity
|
||||
* @Table(name="category")
|
||||
@ -17,11 +15,6 @@ class Category
|
||||
*/
|
||||
public $id;
|
||||
|
||||
/**
|
||||
* @OneToMany(targetEntity="Article", mappedBy="category", cascade={"merge", "persist"})
|
||||
*/
|
||||
public $articles;
|
||||
|
||||
/**
|
||||
* @Column(name="name")
|
||||
*/
|
||||
@ -34,12 +27,4 @@ class Category
|
||||
* @Version
|
||||
*/
|
||||
public $version;
|
||||
|
||||
/**
|
||||
* Category constructor.
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
$this->articles = new ArrayCollection();
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user