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