コード例 #1
0
ファイル: States.php プロジェクト: Thoronir42/G-archive
 public function delete($state)
 {
     if ($state instanceof State) {
         $state->deleted = true;
         $this->save($state);
     } else {
         parent::delete($state);
     }
 }
コード例 #2
0
ファイル: Platforms.php プロジェクト: Thoronir42/G-archive
 /**
  * Platforms constructor.
  */
 public function __construct(EntityManager $em)
 {
     parent::__construct($em, $em->getRepository(Platform::class));
 }
コード例 #3
0
ファイル: GamePictures.php プロジェクト: Thoronir42/G-archive
 public function __construct(EntityManager $em)
 {
     parent::__construct($em, $em->getRepository(GamePicture::class));
 }