function __construct($seconds = 1) { if (!is_numeric($seconds)) { throw new \Exception("Must specify number"); } $this->_seconds = $seconds; }