for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Spiral\Statistics\Extract\Range;
use Spiral\Statistics\Extract\RangeInterface;
abstract class AbstractRange implements RangeInterface
{
/**
* {@inheritdoc}
*/
public function getInterval(): \DateInterval
return new \DateInterval(static::INTERVAL);
}
public function getFormat(): string
return static::FORMAT;
public function getRange(): string
return static::RANGE;