public function __construct()
 {
     foreach ($this->subjects as $subject) {
         // Automatically create URIs with query string and/or fragment part appended
         $this->subjects[] = $subject . '?query=string';
         $this->subjects[] = $subject . '#fragment';
         $this->subjects[] = $subject . '?query=string#fragment';
     }
     parent::__construct();
 }
示例#2
0
 public function __construct()
 {
     parent::__construct();
     $this->subjects = array(time(), time() - Date::MONTH, time() - Date::YEAR, time() - Date::YEAR * 10);
 }