Cannot redeclare time_ago() in laravel code example
Example: Fatal error: Cannot redeclare
if (!function_exists('your_function_name')) {
function your_function_name() {
........
}
}
if (!function_exists('your_function_name')) {
function your_function_name() {
........
}
}