Yalesov\Cron\Service\Registry::getCronRegistry PHP 메소드

getCronRegistry() 공개 정적인 메소드

public static getCronRegistry ( )
    public static function getCronRegistry()
    {
        $instance = self::getInstance();
        return $instance->cronRegistry;
    }

Usage Example

예제 #1
0
 public function testCronRegistry()
 {
     Registry::register('test', '* * * * *', array($this, 'dummy'), array());
     $expectedCronRegistry = array('test' => array('frequency' => '* * * * *', 'callback' => array($this, 'dummy'), 'args' => array()));
     $cronRegistry = Registry::getCronRegistry();
     $this->assertSame($expectedCronRegistry, $cronRegistry);
 }
All Usage Examples Of Yalesov\Cron\Service\Registry::getCronRegistry