I have an array type column like this in an entity:
@ORM\Column(name="acompanantes", type="array")
public fuction setAcompanantes(array $acompanantes)
{
$this->acompanantes = $acompanantes;
return $this;
}
public fuction getAcompanantes()
{
return array($this->acompanantes);
}
The result in the mysql table is of type tinyText with comment DC2Type: array, I understand that this is fine but how could I insert the data using form of symfony2.8? Could you help me?