1 | <?php |
||
10 | class SessionConfiguration implements ConfigurationInterface |
||
11 | { |
||
12 | /** |
||
13 | * @inheritDoc |
||
14 | */ |
||
15 | 1 | public function apply(Injector $injector) |
|
26 | |||
27 | /** |
||
28 | * Initialize the session |
||
29 | * |
||
30 | * @param NativeSession $session |
||
31 | * @param Injector $injector |
||
32 | * |
||
33 | * @return void |
||
34 | */ |
||
35 | 1 | public function prepareSession(NativeSession $session, Injector $injector) |
|
51 | |||
52 | /** |
||
53 | * Start a new session |
||
54 | * |
||
55 | * @return void |
||
56 | * |
||
57 | * @codeCoverageIgnore |
||
58 | */ |
||
59 | protected function startSession() |
||
63 | |||
64 | /** |
||
65 | * Check if a session can be started |
||
66 | * |
||
67 | * @return boolean |
||
68 | */ |
||
69 | 1 | private function canSessionStart() |
|
73 | |||
74 | /** |
||
75 | * Check if we are running in a command line context |
||
76 | * |
||
77 | * @return boolean |
||
78 | */ |
||
79 | 1 | private function isCli() |
|
83 | } |
||
84 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.