Skip to content

Commit c4a4e2a

Browse files
author
full
committed
we can't have retrocompatibility, __get is allowed only to be public
1 parent eedfce1 commit c4a4e2a

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

Entity/TokenManager.php

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -36,19 +36,6 @@ public function __construct(EntityManagerInterface $em, $class)
3636
$this->class = $class;
3737
}
3838

39-
/**
40-
* retrocompatibility with old $repository property.
41-
* @param $name
42-
* @return mixed
43-
*/
44-
public function __get($name)
45-
{
46-
if ('repository' === $name) {
47-
return $this->getRepository();
48-
}
49-
50-
return $this->$name;
51-
}
5239
/**
5340
* {@inheritdoc}
5441
*/

0 commit comments

Comments
 (0)