src/AlterPHP/Component/Behavior/StatusableEntity.php
public function isStatusBetween($from = null, $to = null, $strict = false, $strictTo = null)
    {
        return in_array($this->status, static::getStatusBetween($from, $to, $strict, $strictTo));
    }
public function isStatusBetween($from = null, $to = null, $strict = false, $strictTo = null)
    {
        return in_array($this->status, static::getStatusBetween($from, $to, $strict, $strictTo));
    }
public function isStatusBetween ( $ from = null , $ to = null , $ strict = false , $ strictTo = null ) { return in_array ( $ this -> status , static :: getStatusBetween ( $ from , $ to , $ strict , $ strictTo ) ) ; }
Checks if status is between a "from" and a "to" status.

@param string $from
@param string $to
@param bool   $strict
@param bool   $strictTo

@return bool
Checks if status is between a from and a to status .