\Vonage\Laravel\Facade\Vonage::class, ]; } /** * Gets the property of an object of a class. * * @param string $class * @param string $property * @param mixed $object * * @return mixed * @throws \ReflectionException */ public function getClassProperty(string $class, string $property, mixed $object): mixed { $reflectionClass = new \ReflectionClass($class); $refProperty = $reflectionClass->getProperty($property); $refProperty->setAccessible(true); return $refProperty->getValue($object); } /** * Returns a list of classes we should attempt to create */ public static function classNameProvider(): array { return [ [Client::class], ]; } }