#1316 - removing unused API from stub class
This commit is contained in:
parent
bfd628e153
commit
0c0d3a1a7c
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user