/** * Returns the Wall Entries, which belongs to this Content. * * @return Array of wall entries for this content */ public function getWallEntries() { $entries = WallEntry::findAll(['content_id' => $this->id]); return $entries; }