Total Complexity | 3 |
Total Lines | 29 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
7 | class TrickHistory |
||
8 | { |
||
9 | |||
10 | /** |
||
11 | * @var EntityManagerInterface |
||
12 | */ |
||
13 | private $em; |
||
14 | |||
15 | private $repo; |
||
16 | |||
17 | public function __construct(EntityManagerInterface $em) |
||
18 | { |
||
19 | $this->em = $em; |
||
20 | $this->repo = $this->em->getRepository('Gedmo\Loggable\Entity\LogEntry'); |
||
21 | } |
||
22 | |||
23 | public function getHistory($id) |
||
29 | } |
||
30 | |||
31 | public function revertToHistory($id, $historyId){ |
||
41 | } |