/** * Set the Prismic Ref * @param Ref $ref * @return void */ public function setRef(Ref $ref) { $this->ref = $ref; $this->refString = $ref->getRef(); }