CronLingo\CronLingo::fromExpression PHP Method

fromExpression() public static method

public static fromExpression ( $string ) : string
$string
return string
    public static function fromExpression($string)
    {
        return self::getParser()->parse($string);
    }

Usage Example

Example #1
0
 public function testCron()
 {
     $this->assertInternalType('string', \CronLingo\CronLingo::fromExpression('Every day at midnight'));
 }