1
0
mirror of synced 2024-12-05 03:06:05 +03:00

#1316 - removing unused API from stub class

This commit is contained in:
Marco Pivetta 2015-03-17 23:14:29 +00:00
parent bfd628e153
commit 0c0d3a1a7c

View File

@ -10,70 +10,31 @@ namespace Doctrine\Tests\Models\NonPublicSchemaJoins;
*/
class User
{
const CLASSNAME = __CLASS__;
/**
* @Column(type="integer")
* @Id
*/
private $id;
public $id;
/**
* @ManyToMany(targetEntity="Doctrine\Tests\Models\NonPublicSchemaJoins\User", inversedBy="authors")
* @JoinTable(name="author_reader", schema="readers",
* @JoinTable(
* name="author_reader",
* schema="readers",
* joinColumns={@JoinColumn(name="author_id", referencedColumnName="id")},
* inverseJoinColumns={@JoinColumn(name="reader_id", referencedColumnName="id")}
* )
*
* @var User[]
*/
private $readers;
public $readers;
/**
* @ManyToMany(targetEntity="Doctrine\Tests\Models\NonPublicSchemaJoins\User", mappedBy="readers")
*
* @var User[]
*/
private $authors;
public function setId($id)
{
$this->id = $id;
}
/**
* @return User[]
*/
public function getReaders()
{
return $this->readers;
}
/**
* @param User[] $readers
* @return User
*/
public function setReaders($readers)
{
$this->readers = $readers;
return $this;
}
/**
* @return User[]
*/
public function getAuthors()
{
return $this->authors;
}
/**
* @param User[] $authors
* @return User
*/
public function setAuthors($authors)
{
$this->authors = $authors;
return $this;
}
public $authors;
}