How to create custom helper functions within Laravel 4.