/** * {@inheritDoc} */ public function getDate() { $this->__initializer__ && $this->__initializer__->__invoke($this, 'getDate', array()); return parent::getDate(); }
public function testConstruct() { $comment = new Comment(); $this->assertInstanceOf('\\DateTime', $comment->getDate()); $this->assertEquals(null, $comment->getEditDate()); }