!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/doctrine/annotations/lib/Doctrine/Common/Annotations/   drwxrwxrwx
Free 13 GB of 57.97 GB (22.43%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


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

namespace Doctrine\Common\Annotations;

use 
ReflectionClass;
use 
ReflectionMethod;
use 
ReflectionProperty;

/**
 * Simple Annotation Reader.
 *
 * This annotation reader is intended to be used in projects where you have
 * full-control over all annotations that are available.
 *
 * @deprecated Deprecated in favour of using AnnotationReader
 */
class SimpleAnnotationReader implements Reader
{
    
/** @var DocParser */
    
private $parser;

    
/**
     * Initializes a new SimpleAnnotationReader.
     */
    
public function __construct()
    {
        
$this->parser = new DocParser();
        
$this->parser->setIgnoreNotImportedAnnotations(true);
    }

    
/**
     * Adds a namespace in which we will look for annotations.
     *
     * @param string $namespace
     *
     * @return void
     */
    
public function addNamespace($namespace)
    {
        
$this->parser->addNamespace($namespace);
    }

    
/**
     * {@inheritDoc}
     */
    
public function getClassAnnotations(ReflectionClass $class)
    {
        return 
$this->parser->parse($class->getDocComment(), 'class ' $class->getName());
    }

    
/**
     * {@inheritDoc}
     */
    
public function getMethodAnnotations(ReflectionMethod $method)
    {
        return 
$this->parser->parse(
            
$method->getDocComment(),
            
'method ' $method->getDeclaringClass()->name '::' $method->getName() . '()'
        
);
    }

    
/**
     * {@inheritDoc}
     */
    
public function getPropertyAnnotations(ReflectionProperty $property)
    {
        return 
$this->parser->parse(
            
$property->getDocComment(),
            
'property ' $property->getDeclaringClass()->name '::$' $property->getName()
        );
    }

    
/**
     * {@inheritDoc}
     */
    
public function getClassAnnotation(ReflectionClass $class$annotationName)
    {
        foreach (
$this->getClassAnnotations($class) as $annot) {
            if (
$annot instanceof $annotationName) {
                return 
$annot;
            }
        }

        return 
null;
    }

    
/**
     * {@inheritDoc}
     */
    
public function getMethodAnnotation(ReflectionMethod $method$annotationName)
    {
        foreach (
$this->getMethodAnnotations($method) as $annot) {
            if (
$annot instanceof $annotationName) {
                return 
$annot;
            }
        }

        return 
null;
    }

    
/**
     * {@inheritDoc}
     */
    
public function getPropertyAnnotation(ReflectionProperty $property$annotationName)
    {
        foreach (
$this->getPropertyAnnotations($property) as $annot) {
            if (
$annot instanceof $annotationName) {
                return 
$annot;
            }
        }

        return 
null;
    }
}

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