403Webshell
Server IP : 177.55.116.72  /  Your IP : 216.73.217.104
Web Server : Apache
System : Linux UBAPCWEB27 3.10.0-862.14.4.el7.x86_64 #1 SMP Wed Sep 26 15:12:11 UTC 2018 x86_64
User : web_hotelpraiadoc ( 3326)
PHP Version : 8.2.20
Disable Function : proc_open, passthru, escapeshellcmd, exec, shell_exec, system, ini_alter, dl, popen, php_check_syntax, show_source, highlight_file, symlink, link, openlog, apache_child_terminate
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/hotelpraiadoconde.com.br/public/wp-content/plugins/pods/src/Pods/Container/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/hotelpraiadoconde.com.br/public/wp-content/plugins/pods/src/Pods/Container/Container_DI52.php
<?php

namespace Pods\Container;

use Pods\Prefixed\lucatume\DI52\Container as DI52Container;

/**
 * Describes the interface of a container that exposes methods to read its entries.
 *
 * @credit The StellarWP team - https://github.com/stellarwp/container-contract
 *
 * @since 3.0
 *
 * @method mixed getVar( string $key, mixed|null $default = null )
 * @method void register( string $serviceProviderClass, string ...$alias )
 * @method self when( string $class )
 * @method self needs( string $id )
 * @method void give( mixed $implementation )
 */
class Container_DI52 implements Container_Interface {

	/**
	 * @var self
	 */
	protected static $instance;

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

	/**
	 * Container constructor.
	 *
	 * @param object $container The container to use.
	 */
	public function __construct( $container = null ) {
		$this->container = $container ?: new DI52Container();
	}

	/**
	 * @return self
	 */
	public static function init() {
		if ( empty( self::$instance ) ) {
			self::$instance = new self();
		}

		return self::$instance;
	}

	/**
	 * @inheritDoc
	 */
	public function bind( string $id, $implementation = null, ?array $afterBuildMethods = null ) {
		$this->container->bind( $id, $implementation, $afterBuildMethods );
	}

	/**
	 * @inheritDoc
	 */
	public function get( string $id ) {
		return $this->container->get( $id );
	}

	/**
	 * @return DI52Container
	 */
	public function get_container() {
		return $this->container;
	}

	/**
	 * @inheritDoc
	 */
	public function has( string $id ) {
		return $this->container->has( $id );
	}

	/**
	 * @inheritDoc
	 */
	public function singleton( string $id, $implementation = null, ?array $afterBuildMethods = null ) {
		$this->container->singleton( $id, $implementation, $afterBuildMethods );
	}

	/**
	 * Defer all other calls to the container object.
	 */
	#[\ReturnTypeWillChange]
	public function __call( $name, $arguments ) {
		return $this->container->{$name}( ...$arguments );
	}
}

Youez - 2016 - github.com/yon3zu
LinuXploit