for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* AnimeDb package.
*
* @author Peter Gribanov <[email protected]>
* @copyright Copyright (c) 2011, Peter Gribanov
*/
namespace AnimeDb\SmartSleep\Rule;
trait HourlyIntervalRuleTrait
{
* @var int
private $start = -1;
private $end = -1;
* @param int $start
protected function setStart($start)
$this->start = $start;
}
* @param int $end
protected function setEnd($end)
$this->end = $end;
* @return int
public function start()
return $this->start;
public function end()
return $this->end;