Total Complexity | 7 |
Total Lines | 44 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
9 | class Cors |
||
10 | { |
||
11 | const HEADERS = [ |
||
12 | 'Content-Type', |
||
13 | 'Accept', |
||
14 | 'Origin', |
||
15 | 'Authorization', |
||
16 | 'X-Requested-With' |
||
17 | ]; |
||
18 | |||
19 | protected $container; |
||
20 | |||
21 | public function __construct(ContainerInterface $container) |
||
24 | } |
||
25 | |||
26 | public function __invoke(Request $request, Response $response, $next) |
||
55 |