getTimestamp() public method

Method to get timestamp format
public getTimestamp ( ) : string
return string
Beispiel #1
0
 public function testSetAndGetTimestamp()
 {
     $l = new Logger();
     $l->setTimestamp('Y-m-d');
     $this->assertEquals('Y-m-d', $l->getTimestamp());
 }