LazyRecord\Types\DateTime::__toString PHP Method

__toString() public method

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

Usage Example

Exemplo n.º 1
0
 public function testToString()
 {
     $dateTime = new OurDateTime();
     ok($dateTime->__toString());
 }
DateTime