!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/illuminate/container/   drwxr-xr-x
Free 13.05 GB of 57.97 GB (22.51%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


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

namespace Illuminate\Container;

use 
Illuminate\Contracts\Container\Container;
use 
Illuminate\Contracts\Container\ContextualBindingBuilder as ContextualBindingBuilderContract;

class 
ContextualBindingBuilder implements ContextualBindingBuilderContract
{
    
/**
     * The underlying container instance.
     *
     * @var \Illuminate\Contracts\Container\Container
     */
    
protected $container;

    
/**
     * The concrete instance.
     *
     * @var string|array
     */
    
protected $concrete;

    
/**
     * The abstract target.
     *
     * @var string
     */
    
protected $needs;

    
/**
     * Create a new contextual binding builder.
     *
     * @param  \Illuminate\Contracts\Container\Container  $container
     * @param  string|array  $concrete
     * @return void
     */
    
public function __construct(Container $container$concrete)
    {
        
$this->concrete $concrete;
        
$this->container $container;
    }

    
/**
     * Define the abstract target that depends on the context.
     *
     * @param  string  $abstract
     * @return $this
     */
    
public function needs($abstract)
    {
        
$this->needs $abstract;

        return 
$this;
    }

    
/**
     * Define the implementation for the contextual binding.
     *
     * @param  \Closure|string|array  $implementation
     * @return void
     */
    
public function give($implementation)
    {
        foreach (
Util::arrayWrap($this->concrete) as $concrete) {
            
$this->container->addContextualBinding($concrete$this->needs$implementation);
        }
    }

    
/**
     * Define tagged services to be used as the implementation for the contextual binding.
     *
     * @param  string  $tag
     * @return void
     */
    
public function giveTagged($tag)
    {
        
$this->give(function ($container) use ($tag) {
            
$taggedServices $container->tagged($tag);

            return 
is_array($taggedServices) ? $taggedServices iterator_to_array($taggedServices);
        });
    }

    
/**
     * Specify the configuration item to bind as a primitive.
     *
     * @param  string  $key
     * @param  mixed  $default
     * @return void
     */
    
public function giveConfig($key$default null)
    {
        
$this->give(fn ($container) => $container->get('config')->get($key$default));
    }
}

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