!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/laravel/framework/src/Illuminate/Support/   drwxr-xr-x
Free 116.5 GB of 200.55 GB (58.09%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


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

namespace Illuminate\Support;

use 
Closure;
use 
InvalidArgumentException;

abstract class 
Manager
{
    
/**
     * The application instance.
     *
     * @var \Illuminate\Foundation\Application
     */
    
protected $app;

    
/**
     * The registered custom driver creators.
     *
     * @var array
     */
    
protected $customCreators = [];

    
/**
     * The array of created "drivers".
     *
     * @var array
     */
    
protected $drivers = [];

    
/**
     * Create a new manager instance.
     *
     * @param  \Illuminate\Foundation\Application  $app
     * @return void
     */
    
public function __construct($app)
    {
        
$this->app $app;
    }

    
/**
     * Get the default driver name.
     *
     * @return string
     */
    
abstract public function getDefaultDriver();

    
/**
     * Get a driver instance.
     *
     * @param  string  $driver
     * @return mixed
     */
    
public function driver($driver null)
    {
        
$driver $driver ?: $this->getDefaultDriver();

        
// If the given driver has not been created before, we will create the instances
        // here and cache it so we can return it next time very quickly. If there is
        // already a driver created by this name, we'll just return that instance.
        
if (! isset($this->drivers[$driver])) {
            
$this->drivers[$driver] = $this->createDriver($driver);
        }

        return 
$this->drivers[$driver];
    }

    
/**
     * Create a new driver instance.
     *
     * @param  string  $driver
     * @return mixed
     *
     * @throws \InvalidArgumentException
     */
    
protected function createDriver($driver)
    {
        
$method 'create'.Str::studly($driver).'Driver';

        
// We'll check to see if a creator method exists for the given driver. If not we
        // will check for a custom driver creator, which allows developers to create
        // drivers using their own customized driver creator Closure to create it.
        
if (isset($this->customCreators[$driver])) {
            return 
$this->callCustomCreator($driver);
        } elseif (
method_exists($this$method)) {
            return 
$this->$method();
        }

        throw new 
InvalidArgumentException("Driver [$driver] not supported.");
    }

    
/**
     * Call a custom driver creator.
     *
     * @param  string  $driver
     * @return mixed
     */
    
protected function callCustomCreator($driver)
    {
        return 
$this->customCreators[$driver]($this->app);
    }

    
/**
     * Register a custom driver creator Closure.
     *
     * @param  string    $driver
     * @param  \Closure  $callback
     * @return $this
     */
    
public function extend($driverClosure $callback)
    {
        
$this->customCreators[$driver] = $callback;

        return 
$this;
    }

    
/**
     * Get all of the created "drivers".
     *
     * @return array
     */
    
public function getDrivers()
    {
        return 
$this->drivers;
    }

    
/**
     * Dynamically call the default driver instance.
     *
     * @param  string  $method
     * @param  array   $parameters
     * @return mixed
     */
    
public function __call($method$parameters)
    {
        return 
call_user_func_array([$this->driver(), $method], $parameters);
    }
}

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