-
Notifications
You must be signed in to change notification settings - Fork 1
Support
Sanjoy Dey edited this page Oct 31, 2015
·
1 revision
##Support
###Displaying Formated Output
If you want to debug and view array values as formated output, use show function. Simply pass array into it.
show($resultArray);If you want to exit to stop execution after formated output then you can simply pass second parameter as exit.
show($resultArray,'exit');###Get Days Difference
use Cygnite\Helpers\Helper;
echo Helper::daysDiff($date);By default it will take the current date and subtract with given date.
###Split Your String As Array
use Cygnite\Helpers\Helper;
Helper::stringSplit("Hello World", " "); // By default it will split by dot(.)