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