Newscoop\Entity\Theme::toObject PHP Method

toObject() public method

public toObject ( )
    public function toObject()
    {
        return (object) array("id" => (int) $this->getId(), "name" => (string) $this->getName(), "description" => (string) $this->getDescription(), "designer" => (string) $this->getDesigner(), "path" => (string) $this->getPath(), "version" => (string) $this->getVersion(), "minorNewscoopVersion" => (string) $this->getMinorNewscoopVersion(), "installedVersion" => (string) $this->getInstalledVersion());
    }

Usage Example

 public function toObject()
 {
     $this->__load();
     return parent::toObject();
 }