/** * @param \AppAnest\Model\legalentity $model */ public function preUpdate(\AppAnest\Model\legalentity &$model) { $person = new \AppAnest\Coach\person(); $person->update(); }
/** * @param \AppAnest\Model\contractorunit $model */ public function preUpdate(\AppAnest\Model\contractorunit &$model) { $person = new \AppAnest\Coach\person(); $person->update(); }
/** * @param \AppAnest\Model\naturalperson $model */ public function preUpdate(\AppAnest\Model\naturalperson &$model) { $person = new \AppAnest\Coach\person(); $person->update(); }
<?php require_once '../../vendor/autoload.php'; $object = new \AppAnest\Coach\person(); echo $object->callAction();