/** * Add doc * * @param Doc $doc * * @return MPaye */ public function addDoc(Doc $doc) { $this->docs[] = $doc; $doc->addMpaye($this); return $this; }