public function __construct() { $this->startDate = strtotime('-1 week', mktime(0, 0, 0)); $this->endDate = mktime(0, 0, 0); }