public function __construct(PostInterface $post) { parent::__construct($post->getTopic()); $this->post = $post; }