404

[ Avaa Bypassed ]




Upload:

Command:

botdev@3.21.34.214: ~ $
<?php
/* vim: set expandtab sw=4 ts=4 sts=4: */
/**
 * Holds the PMA\libraries\di\AliasItem class
 *
 * @package PMA
 */
namespace PMA\libraries\di;

/**
 * Class AliasItem
 *
 * @package PMA\libraries\di
 */
class AliasItem implements Item
{

    /** @var Container */
    protected $container;

    /** @var string */
    protected $target;

    /**
     * Constructor
     *
     * @param Container $container Container
     * @param string    $target    Target
     */
    public function __construct(Container $container, $target)
    {
        $this->container = $container;
        $this->target = $target;
    }

    /**
     * Get the target item
     *
     * @param array $params Parameters
     * @return mixed
     */
    public function get($params = array())
    {
        return $this->container->get($this->target, $params);
    }
}

Filemanager

Name Type Size Permission Actions
AliasItem.php File 850 B 0644
Container.php File 3.45 KB 0644
FactoryItem.php File 469 B 0644
Item.php File 383 B 0644
ReflectorItem.php File 3.38 KB 0644
ServiceItem.php File 609 B 0644
ValueItem.php File 636 B 0644