mirror of
https://github.com/bdnugget/magento2.git
synced 2026-11-08 01:37:36 +00:00
- removed @since 2.0.0 as it is a base release - updated version in @since and @deprecated tag taking into account all patch releases
40 lines
789 B
PHP
40 lines
789 B
PHP
<?php
|
|
/**
|
|
* Copyright © Magento, Inc. All rights reserved.
|
|
* See COPYING.txt for license details.
|
|
*/
|
|
namespace Magento\Cron\Model;
|
|
|
|
/**
|
|
* Configuration entry point for client using
|
|
*/
|
|
class Config implements \Magento\Cron\Model\ConfigInterface
|
|
{
|
|
/**
|
|
* Cron config data
|
|
*
|
|
* @var \Magento\Cron\Model\Config\Data
|
|
*/
|
|
protected $_configData;
|
|
|
|
/**
|
|
* Initialize needed parameters
|
|
*
|
|
* @param \Magento\Cron\Model\Config\Data $configData
|
|
*/
|
|
public function __construct(\Magento\Cron\Model\Config\Data $configData)
|
|
{
|
|
$this->_configData = $configData;
|
|
}
|
|
|
|
/**
|
|
* Return cron full cron jobs
|
|
*
|
|
* @return array
|
|
*/
|
|
public function getJobs()
|
|
{
|
|
return $this->_configData->getJobs();
|
|
}
|
|
}
|