diff --git a/composer.json b/composer.json index 418f3cc..d5889ad 100644 --- a/composer.json +++ b/composer.json @@ -1,7 +1,7 @@ { "name": "selenesoftware/cms-bundle", "type": "symfony-bundle", - "version": "0.0.9", + "version": "0.0.10", "description": "CMS platform for Symfony", "homepage": "https://github.com/SeleneSoftware/seleneCMSBundle", "license": "MIT", diff --git a/src/Entity/Blog.php b/src/Entity/Blog.php index 978abc2..dffc5f7 100644 --- a/src/Entity/Blog.php +++ b/src/Entity/Blog.php @@ -49,6 +49,11 @@ public function __construct() $this->comments = new ArrayCollection(); } + public function __toString(): string + { + return $this->title; + } + public function getId(): ?int { return $this->id;