public function __construct() { $this->postParser = new PostParser(); $this->tags = Tag::all(); $this->dificultyLevels = PostDificulty::all(); $this->posts = Post::all(); }