Pop\Log\Logger::getTimestamp PHP Метод

getTimestamp() публичный Метод

Method to get timestamp format
public getTimestamp ( ) : string
Результат string
    public function getTimestamp()
    {
        return $this->timestamp;
    }

Usage Example

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