| Total Complexity | 10 |
| Total Lines | 50 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 6 | trait ExposeLibrariesTrait |
||
| 7 | { |
||
| 8 | final protected function config() |
||
| 11 | } |
||
| 12 | |||
| 13 | final protected function date() |
||
| 14 | { |
||
| 15 | return Fw::library('Date'); |
||
| 16 | } |
||
| 17 | |||
| 18 | final protected function cookie() |
||
| 19 | { |
||
| 20 | return Fw::library('Cookie'); |
||
| 21 | } |
||
| 22 | |||
| 23 | final protected function i18n() |
||
| 24 | { |
||
| 25 | return Fw::library('I18n'); |
||
| 26 | } |
||
| 27 | |||
| 28 | final protected function mysqliDb() |
||
| 29 | { |
||
| 30 | return Fw::library('MysqliDatabase'); |
||
| 31 | } |
||
| 32 | |||
| 33 | final protected function pdoDb() |
||
| 34 | { |
||
| 35 | return Fw::library('PdoDatabase'); |
||
| 36 | } |
||
| 37 | |||
| 38 | final protected function request() |
||
| 39 | { |
||
| 40 | return Fw::library('Request'); |
||
| 41 | } |
||
| 42 | |||
| 43 | final protected function router() |
||
| 44 | { |
||
| 45 | return Fw::library('Router'); |
||
| 46 | } |
||
| 47 | |||
| 48 | final protected function security() |
||
| 51 | } |
||
| 52 | |||
| 53 | final protected function session() |
||
| 54 | { |
||
| 55 | return Fw::library('Session'); |
||
| 56 | } |
||
| 57 | } |
||
| 58 |