Repository URL to install this package:
|
Version:
6.2.0 ▾
|
digitalascetic/batch-util
/
AbstractProgressMonitor.php
|
|---|
<?php
/**
* Created by IntelliJ IDEA.
* User: martino
* Date: 20/05/18
* Time: 10:58
*/
namespace DigitalAscetic\BatchUtil;
/**
* Class AbstractProgressMonitor
* @package DigitalAscetic\BatchUtil
*/
abstract class AbstractProgressMonitor implements BatchProgressMonitor
{
/**
* @var bool
*/
protected bool $started;
/**
* @var bool
*/
protected bool $finished;
/**
* AbstractProgressMonitor constructor.
*/
public function __construct()
{
$this->started = false;
$this->finished = false;
}
/**
* @return bool
*/
public function isStarted(): bool
{
return $this->started;
}
/**
* @return bool
*/
public function isFinished(): bool
{
return $this->finished;
}
}