duplicate projects with all settings (#1465)

This commit is contained in:
Kevin Papst
2020-02-13 16:47:20 +01:00
committed by GitHub
parent 057c824e9f
commit c67617262f
34 changed files with 383 additions and 180 deletions

View File

@@ -19,7 +19,7 @@ use Symfony\Component\Validator\Constraints as Assert;
trait MetaTableTypeTrait
{
/**
* @var int
* @var int|null
*
* @ORM\Id
* @ORM\GeneratedValue
@@ -234,4 +234,11 @@ trait MetaTableTypeTrait
{
return $this->options;
}
public function __clone()
{
if ($this->id) {
$this->id = null;
}
}
}