mirror of
https://github.com/Mibew/handlebars.php-helpers.git
synced 2025-03-22 13:41:27 +03:00
Add ifLess helper to Comparison helpers set
This commit is contained in:
parent
df972e6e72
commit
02b8e8e3dc
@ -30,6 +30,7 @@ class Helpers extends BaseHelpers
|
|||||||
$this->add('ifEqual', new IfEqualHelper());
|
$this->add('ifEqual', new IfEqualHelper());
|
||||||
$this->add('ifEven', new IfEvenHelper());
|
$this->add('ifEven', new IfEvenHelper());
|
||||||
$this->add('ifOdd', new IfOddHelper());
|
$this->add('ifOdd', new IfOddHelper());
|
||||||
|
$this->add('ifLess', new IfLessHelper());
|
||||||
$this->add('unlessEqual', new UnlessEqualHelper());
|
$this->add('unlessEqual', new UnlessEqualHelper());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -42,6 +42,7 @@ class HelpersTest extends \PHPUnit_Framework_TestCase
|
|||||||
array('ifEqual', '\\JustBlackBird\\HandlebarsHelpers\\Comparison\\IfEqualHelper'),
|
array('ifEqual', '\\JustBlackBird\\HandlebarsHelpers\\Comparison\\IfEqualHelper'),
|
||||||
array('ifEven', '\\JustBlackBird\\HandlebarsHelpers\\Comparison\\IfEvenHelper'),
|
array('ifEven', '\\JustBlackBird\\HandlebarsHelpers\\Comparison\\IfEvenHelper'),
|
||||||
array('ifOdd', '\\JustBlackBird\\HandlebarsHelpers\\Comparison\\IfOddHelper'),
|
array('ifOdd', '\\JustBlackBird\\HandlebarsHelpers\\Comparison\\IfOddHelper'),
|
||||||
|
array('ifLess', '\\JustBlackBird\\HandlebarsHelpers\\Comparison\\IfLessHelper'),
|
||||||
array('unlessEqual', '\\JustBlackBird\\HandlebarsHelpers\\Comparison\\UnlessEqualHelper'),
|
array('unlessEqual', '\\JustBlackBird\\HandlebarsHelpers\\Comparison\\UnlessEqualHelper'),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user