LazyRecord\Types\DateTime::__toString PHP Метод

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

public __toString ( )
    public function __toString()
    {
        return $this->format(PHPDateTime::ATOM);
    }

Usage Example

Пример #1
0
 public function testToString()
 {
     $dateTime = new OurDateTime();
     ok($dateTime->__toString());
 }
DateTime