Files
Oleksii Korshenko 56af1e73ce MAGETWO-71174: Update doc block information in php classes with @deprecated and @since tags
- removed @since 2.0.0 as it is a base release
 - updated version in @since and @deprecated tag taking into account all patch releases
2017-08-02 14:14:33 -05:00

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();
}
}