NextDom\Model\Entity\Cron::getEnable
Get enabled state of the cron task
Signature
public function getEnable([integer
$defaultValue = 0] )
Parameters
$defaultValue
— integer- Default value if cron task is not initialized
Returns
- int
- 1 for enabled task, 0 for disabled, or defaultValue