!C99Shell v. 2.5 [PHP 8 Update] [24.05.2025]!

Software: Apache/2.4.41 (Ubuntu). PHP/8.0.30 

uname -a: Linux apirnd 5.4.0-204-generic #224-Ubuntu SMP Thu Dec 5 13:38:28 UTC 2024 x86_64 

uid=33(www-data) gid=33(www-data) groups=33(www-data) 

Safe-mode: OFF (not secure)

/var/www/html/dokan/script/vendor/nunomaduro/larastan/src/Reflection/   drwxrwxrwx
Free 12.96 GB of 57.97 GB (22.36%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


Viewing file:     EloquentBuilderMethodReflection.php (3.38 KB)      -rwxrwxrwx
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php

declare(strict_types=1);

namespace 
NunoMaduro\Larastan\Reflection;

use 
Illuminate\Database\Eloquent\Builder;
use 
PHPStan\Reflection\ClassMemberReflection;
use 
PHPStan\Reflection\ClassReflection;
use 
PHPStan\Reflection\FunctionVariant;
use 
PHPStan\Reflection\MethodReflection;
use 
PHPStan\Reflection\ParameterReflection;
use 
PHPStan\TrinaryLogic;
use 
PHPStan\Type\Generic\TemplateTypeMap;
use 
PHPStan\Type\ObjectType;
use 
PHPStan\Type\Type;

final class 
EloquentBuilderMethodReflection implements MethodReflection
{
    
/**
     * @var string
     */
    
private $methodName;

    
/**
     * @var ClassReflection
     */
    
private $classReflection;

    
/** @var MethodReflection */
    
private $originalMethodReflection;

    
/**
     * @var ParameterReflection[]
     */
    
private $parameters;

    
/**
     * @var Type
     */
    
private $returnType;

    
/**
     * @var bool
     */
    
private $isVariadic;

    
/**
     * @param string                $methodName
     * @param ClassReflection       $classReflection
     * @param MethodReflection      $originalMethodReflection
     * @param ParameterReflection[] $parameters
     * @param Type|null             $returnType
     * @param bool                  $isVariadic
     */
    
public function __construct(string $methodNameClassReflection $classReflectionMethodReflection $originalMethodReflection, array $parameters, ?Type $returnType nullbool $isVariadic false)
    {
        
$this->methodName $methodName;
        
$this->classReflection $classReflection;
        
$this->originalMethodReflection $originalMethodReflection;
        
$this->parameters $parameters;
        
$this->returnType $returnType ?? new ObjectType(Builder::class);
        
$this->isVariadic $isVariadic;
    }

    public function 
getDeclaringClass(): ClassReflection
    
{
        return 
$this->classReflection;
    }

    public function 
isStatic(): bool
    
{
        return 
true;
    }

    public function 
isPrivate(): bool
    
{
        return 
false;
    }

    public function 
isPublic(): bool
    
{
        return 
true;
    }

    public function 
getName(): string
    
{
        return 
$this->methodName;
    }

    public function 
getPrototype(): ClassMemberReflection
    
{
        return 
$this;
    }

    
/**
     * {@inheritdoc}
     */
    
public function getVariants(): array
    {
        return [
            new 
FunctionVariant(
                
TemplateTypeMap::createEmpty(),
                
null,
                
$this->parameters,
                
$this->isVariadic,
                
$this->returnType
            
),
        ];
    }

    public function 
getDocComment(): ?string
    
{
        return 
null;
    }

    public function 
isDeprecated(): TrinaryLogic
    
{
        return 
TrinaryLogic::createNo();
    }

    public function 
getDeprecatedDescription(): ?string
    
{
        return 
null;
    }

    public function 
isFinal(): TrinaryLogic
    
{
        return 
TrinaryLogic::createNo();
    }

    public function 
isInternal(): TrinaryLogic
    
{
        return 
TrinaryLogic::createNo();
    }

    public function 
getThrowType(): ?Type
    
{
        return 
null;
    }

    public function 
hasSideEffects(): TrinaryLogic
    
{
        return 
TrinaryLogic::createMaybe();
    }

    
/**
     * @return MethodReflection
     */
    
public function getOriginalMethodReflection(): MethodReflection
    
{
        return 
$this->originalMethodReflection;
    }
}

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ ok ]

:: Make Dir ::
 
[ ok ]
:: Make File ::
 
[ ok ]

:: Go Dir ::
 
:: Go File ::
 

--[ c99shell v. 2.5 [PHP 8 Update] [24.05.2025] | Generation time: 0.0146 ]--