public function __construct() { parent::__construct(); $this->text = 'Fixtures truly are gnarly!'; $this->commenter_name = 'Brian Scaturro'; $this->commenter_email = '*****@*****.**'; $this->commenter_url = 'http://brianscaturro.com'; }
public function __construct() { parent::__construct(); $this->id = 1; $this->text = 'Great post!'; $this->date = \DateTime::createFromFormat('m/d/Y', '06/20/1986'); $this->commenter_name = 'Brian Scaturro'; $this->commenter_email = '*****@*****.**'; $this->commenter_url = 'http://brianscaturro.com'; }
public function __construct() { parent::__construct(); $this->id = 2; $this->text = '<h1>Greetings</h1> there blogger! Click <a href="#">here</a> for more info!!! It is going to be <strong>great!</strong>'; $this->date = \DateTime::createFromFormat('m/d/Y', '06/20/1987'); $this->commenter_name = 'Comment Guy'; $this->commenter_email = '*****@*****.**'; $this->commenter_url = 'http://commentguy.com'; }