Model/Document.php
changeset 65 ba6b8e38d90e
parent 63 774ba82dca59
equal deleted inserted replaced
64:caeb4c8b5487 65:ba6b8e38d90e
   138     function __construct()
   138     function __construct()
   139     {
   139     {
   140         $this->createdAt = new \DateTime("now", new \DateTimeZone('UTC'));
   140         $this->createdAt = new \DateTime("now", new \DateTimeZone('UTC'));
   141     }
   141     }
   142     
   142     
   143     
   143     /**
       
   144      * (non-PHPdoc)
       
   145      * @see IRI\Bundle\WikiTagBundle\Model.DocumentInterface::__toString()
       
   146      */
   144     public function __toString()
   147     public function __toString()
   145     {
   148     {
   146         return print_r(Debug::export($this, 3),true);
   149         return print_r(Debug::export($this, 3),true);
   147     }
   150     }
   148 
   151