LazyRecord\Types\DateTime::__toString PHP Méthode

__toString() public méthode

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

Usage Example

Exemple #1
0
 public function testToString()
 {
     $dateTime = new OurDateTime();
     ok($dateTime->__toString());
 }
DateTime