This commit is contained in:
Andy Miller
2019-03-19 13:14:21 -06:00
parent 0dc3e5806e
commit 25ff1241d4

View File

@@ -450,6 +450,12 @@ class TwigExtension extends \Twig_Extension implements \Twig_Extension_GlobalsIn
return (strpos($haystack, $needle) !== false);
}
/**
* Gets a human readable output for cron sytnax
*
* @param $at
* @return string
*/
public function niceCronFilter($at)
{
$cron = new Cron($at);