Skip to content

Instantly share code, notes, and snippets.

View Kaspiman's full-sized avatar

Vladimir Plakhotnikov Kaspiman

View GitHub Profile
@Kaspiman
Kaspiman / index.php
Last active November 12, 2020 10:53
<?php
$bankRequest = $this->bankRequestEntityRepository->find(177);
$bankRequest->setCreatedAt(new \DateTime());
$this->entityManager->persist($bankRequest);
$this->entityManager->flush();
$data = $this->bankRequestEntityRepository->find(177);