/var/www/flurhymez/vendor/laravel/framework/src/Illuminate/Support
NameSizeModeActions
Facades/-0755rm
Testing/-0755rm
Traits/-0755rm
AggregateServiceProvider.php9950644editdlrm
Carbon.php3560644editdlrm
composer.json16630644editdlrm
Composer.php24020644editdlrm
ConfigurationUrlParser.php43900644editdlrm
DateFactory.php80230644editdlrm
Env.php24790644editdlrm
Fluent.php40240755editdlrm
helpers.php89830755editdlrm
HigherOrderTapProxy.php6650644editdlrm
HtmlString.php10570644editdlrm
InteractsWithTime.php15880644editdlrm
Js.php34220644editdlrm
LICENSE.md10750644editdlrm
Manager.php45620755editdlrm
MessageBag.php97710755editdlrm
NamespacedItemResolver.php34300755editdlrm
Optional.php27910644editdlrm
Pluralizer.php33780755editdlrm
ProcessUtils.php20500644editdlrm
Reflector.php37730644editdlrm
ServiceProvider.php110200755editdlrm
Str.php240550644editdlrm
Stringable.php194200644editdlrm
ValidatedInput.php42050644editdlrm
ViewErrorBag.php26510644editdlrm
Edit: /var/www/flurhymez/vendor/laravel/framework/src/Illuminate/Support/Reflector.php (3773B)
isPublic(); } if (is_object($var[0]) && method_exists($class, '__call')) { return (new ReflectionMethod($class, '__call'))->isPublic(); } if (! is_object($var[0]) && method_exists($class, '__callStatic')) { return (new ReflectionMethod($class, '__callStatic'))->isPublic(); } return false; } /** * Get the class name of the given parameter's type, if possible. * * @param \ReflectionParameter $parameter * @return string|null */ public static function getParameterClassName($parameter) { $type = $parameter->getType(); if (! $type instanceof ReflectionNamedType || $type->isBuiltin()) { return; } return static::getTypeName($parameter, $type); } /** * Get the class names of the given parameter's type, including union types. * * @param \ReflectionParameter $parameter * @return array */ public static function getParameterClassNames($parameter) { $type = $parameter->getType(); if (! $type instanceof ReflectionUnionType) { return array_filter([static::getParameterClassName($parameter)]); } $unionTypes = []; foreach ($type->getTypes() as $listedType) { if (! $listedType instanceof ReflectionNamedType || $listedType->isBuiltin()) { continue; } $unionTypes[] = static::getTypeName($parameter, $listedType); } return array_filter($unionTypes); } /** * Get the given type's class name. * * @param \ReflectionParameter $parameter * @param \ReflectionNamedType $type * @return string */ protected static function getTypeName($parameter, $type) { $name = $type->getName(); if (! is_null($class = $parameter->getDeclaringClass())) { if ($name === 'self') { return $class->getName(); } if ($name === 'parent' && $parent = $class->getParentClass()) { return $parent->getName(); } } return $name; } /** * Determine if the parameter's type is a subclass of the given type. * * @param \ReflectionParameter $parameter * @param string $className * @return bool */ public static function isParameterSubclassOf($parameter, $className) { $paramClassName = static::getParameterClassName($parameter); return ($paramClassName && class_exists($paramClassName)) ? (new ReflectionClass($paramClassName))->isSubclassOf($className) : false; } }