1
0
mirror of synced 2025-02-03 13:59:27 +03:00
doctrine2/tests/Doctrine/Tests/Models/Issue5989/Issue5989Manager.php
Carl Vuorinen 12b5e79ff2 Create a failing test for issue #5989
Field with type=simple_array in a joined inheritance gets overridden by empty array in the hydrator
2016-09-08 13:37:00 +02:00

28 lines
423 B
PHP

<?php
namespace Doctrine\Tests\Models\Issue5989;
/**
* @Entity
* @Table(name="issue5989_managers")
*/
class Issue5989Manager extends Issue5989Person
{
/**
* @column(type="simple_array", nullable=true)
*
* @var array
*/
private $tags;
public function getTags()
{
return $this->tags;
}
public function setTags(array $tags)
{
$this->tags = $tags;
}
}