dce0aeaa15
Field with type=simple_array in a joined inheritance gets overridden by empty array in the hydrator
28 lines
425 B
PHP
28 lines
425 B
PHP
<?php
|
|
|
|
namespace Doctrine\Tests\Models\Issue5989;
|
|
|
|
/**
|
|
* @Entity
|
|
* @Table(name="issue5989_employees")
|
|
*/
|
|
class Issue5989Employee 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;
|
|
}
|
|
}
|