Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
Total | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
CRAP | |
0.00% |
0 / 1 |
BaseController | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |
0.00% |
0 / 1 |
getUser | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 |
1 | <?php |
2 | |
3 | namespace App\Controller; |
4 | |
5 | use Symfony\Bundle\FrameworkBundle\Controller\AbstractController; |
6 | use App\Entity\User; |
7 | |
8 | abstract class BaseController extends AbstractController |
9 | { |
10 | protected function getUser(): User |
11 | { |
12 | return parent::getUser(); |
13 | } |
14 | |
15 | |
16 | } |