Sindbad~EG File Manager

Current Path : /proc/2302468/cwd/plugins/fluentform/framework/Foundation/
Upload File :
Current File : //proc/2302468/cwd/plugins/fluentform/framework/Foundation/AppFacade.php

<?php

namespace FluentForm\Framework\Foundation;

abstract class AppFacade
{
	/**
	 * $instance Application
	 * @var \FluentForm\Framework\Foundation\Application
	 */
	static $instance = null;

	/**
	 * Sets the app instance from Application
	 * @param \FluentForm\Framework\Foundation\Application $instance
	 */
	public static function setApplication($instance)
	{
		static::$instance = $instance;
	}

	/**
	 * Get the app instance stored earlier during the bootstrap
	 * @param \FluentForm\Framework\Foundation\Application $instance
	 */
	public static function getApplication()
	{
		return static::$instance;
	}

	/**
	 * Resolve the aliased class dynamically
	 * @param  string $method
	 * @param  string $params
	 * @return mixed
	 */
    public static function __callStatic($method, $params)
	{
		return call_user_func_array([
			static::$instance->make(static::$key), $method
		], $params);
	}
}

Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists