Beispiel #1
0
 public function delete($state)
 {
     if ($state instanceof State) {
         $state->deleted = true;
         $this->save($state);
     } else {
         parent::delete($state);
     }
 }
Beispiel #2
0
 /**
  * Platforms constructor.
  */
 public function __construct(EntityManager $em)
 {
     parent::__construct($em, $em->getRepository(Platform::class));
 }
Beispiel #3
0
 public function __construct(EntityManager $em)
 {
     parent::__construct($em, $em->getRepository(GamePicture::class));
 }