Or better:


    return $this->faker->{$name}

+ try/catch