WIP: feature_paste #1
|
@ -14,7 +14,7 @@ class PasteRepository extends ServiceEntityRepository
|
||||||
parent::__construct($registry, Paste::class);
|
parent::__construct($registry, Paste::class);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function save(Paste $paste, bool $flush=false): void
|
public function save(Paste $paste, bool $flush = false): void
|
||||||
{
|
{
|
||||||
$entityManager = $this->getEntityManager();
|
$entityManager = $this->getEntityManager();
|
||||||
$entityManager->persist($paste);
|
$entityManager->persist($paste);
|
||||||
|
|
Loading…
Reference in a new issue