/**
* @param string $number
*
* @throws NotFoundException
* @throws ParameterMissingException
*
* @return array<string, mixed>|CustomerModel
*/
public function getOneByNumber($number) { $id =
$this->
getIdFromNumber($number);
return $this->
getOne($id);
} /**
* @param int $id
*
* @throws NotFoundException
* @throws ParameterMissingException
*
* @return array<string, mixed>|CustomerModel
*/