Imbo\Model\Status::getDate PHP Method

getDate() public method

Get the date
public getDate ( ) : DateTime
return DateTime
    public function getDate()
    {
        return $this->date;
    }

Usage Example

Example #1
0
 /**
  * @covers Imbo\Model\Status::getDate
  * @covers Imbo\Model\Status::setDate
  */
 public function testCanSetAndGetDate()
 {
     $date = new DateTime();
     $this->assertNull($this->model->getDate());
     $this->assertSame($this->model, $this->model->setDate($date));
     $this->assertSame($date, $this->model->getDate());
 }
All Usage Examples Of Imbo\Model\Status::getDate