| Conditions | 1 |
| Paths | 1 |
| Total Lines | 10 |
| Code Lines | 8 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 11 | public function load(\Transphporm\Config $config) { |
||
| 12 | $functionSet = $config->getFunctionSet(); |
||
| 13 | $baseDir = &$config->getBaseDir(); |
||
| 14 | |||
| 15 | $functionSet->addFunction('attr', new \Transphporm\TSSFunction\Attr()); |
||
| 16 | $functionSet->addFunction('data', new \Transphporm\TSSFunction\Data($config->getElementData(), $functionSet, 'data')); |
||
| 17 | $functionSet->addFunction('key', new \Transphporm\TSSFunction\Data($config->getElementData(), $functionSet, 'key')); |
||
| 18 | $functionSet->addFunction('iteration', new \Transphporm\TSSFunction\Data($config->getElementData(), $functionSet, 'iteration')); |
||
| 19 | $functionSet->addFunction('template', new \Transphporm\TSSFunction\Template($config->getElementData(), $baseDir)); |
||
| 20 | } |
||
| 21 | } |