public function __construct(SimpleBlogUser $user, SimpleBlogPost $post) { $this->user = $user; $this->post = $post; $this->timestamp = time(); }