Conditions | 3 |
Paths | 3 |
Total Lines | 11 |
Code Lines | 4 |
Lines | 0 |
Ratio | 0 % |
Changes | 3 | ||
Bugs | 1 | Features | 1 |
1 | <?php namespace Knot\Dict\Helpers; |
||
97 | public function addRoutes(HelperManager $helperManager) |
||
98 | { |
||
99 | // If underscore is not exists, don't add any routes to helper. |
||
100 | if ( $this->ready === true ) |
||
101 | { |
||
102 | foreach ($this->functions as $functionName) |
||
103 | { |
||
104 | $helperManager->addRoute($functionName, [ __CLASS__, "execute" ]); |
||
105 | } |
||
106 | } |
||
107 | } |
||
108 | |||
121 |