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;
abstract class RuleBase implements RuleInterface
{
* @var int
private $start = -1;
private $end = -1;
private $seconds = 0;
* @return int
public function getStart()
return $this->start;
}
* @param int $start
* @return RuleBase
public function setStart($start)
$this->start = $start;
return $this;
public function getEnd()
return $this->end;
* @param int $end
public function setEnd($end)
$this->end = $end;
public function getSeconds()
return $this->seconds;
* @param int $seconds
public function setSeconds($seconds)
$this->seconds = $seconds;