Pop\Log\Logger::getTimestamp PHP Méthode

getTimestamp() public méthode

Method to get timestamp format
public getTimestamp ( ) : string
Résultat string
    public function getTimestamp()
    {
        return $this->timestamp;
    }

Usage Example

Exemple #1
0
 public function testSetAndGetTimestamp()
 {
     $l = new Logger();
     $l->setTimestamp('Y-m-d');
     $this->assertEquals('Y-m-d', $l->getTimestamp());
 }