/home/kotech/web/sunnycreations.hk/public_html/vendor/league/container/src/Inflector/InflectorAggregate.php
* @var array
*/
protected $inflectors = [];
/**
* {@inheritdoc}
*/
public function add($type, callable $callback = null)
{
if (is_null($callback)) {
/home/kotech/web/sunnycreations.hk/public_html/vendor/composer/ClassLoader.php
/**
* Scope isolated include.
*
* Prevents access to $this/self from included files.
*/
function includeFile($file)
{
include $file;
}
/home/kotech/web/sunnycreations.hk/public_html/vendor/composer/ClassLoader.php
/**
* Scope isolated include.
*
* Prevents access to $this/self from included files.
*/
function includeFile($file)
{
include $file;
}
/home/kotech/web/sunnycreations.hk/public_html/vendor/composer/ClassLoader.php
*
* @param string $class The name of the class
* @return bool|null True if loaded, null otherwise
*/
public function loadClass($class)
{
if ($file = $this->findFile($class)) {
includeFile($file);
return true;
/home/kotech/web/sunnycreations.hk/public_html/vendor/league/container/src/Container.php
) {
// set required dependencies
$this->providers = (is_null($providers))
? (new ServiceProviderAggregate)->setContainer($this)
: $providers->setContainer($this);
$this->inflectors = (is_null($inflectors))
? (new InflectorAggregate)->setContainer($this)
: $inflectors->setContainer($this);
/home/kotech/web/sunnycreations.hk/public_html/src/App/Application.php
$whoops = new \Whoops\Run;
$whoops->pushHandler(new \Whoops\Handler\PrettyPageHandler);
$whoops->register();
//R::setup("mysql:host=localhost;dbname=bullseye", "fcj_online", "ZXCasdQWE123");
$this->container = new \League\Container\Container;
$this->container->share('response', "Zend\\Diactoros\\Response");
/home/kotech/web/sunnycreations.hk/public_html/index.php
use App\EmailClient;
use League\Route\Http\Exception\NotFoundException;
use Psr\Http\Message\ResponseInterface;
use Psr\Http\Message\ServerRequestInterface;
use RedBeanPHP\R;
use Stringy\Stringy;
$app = new \App\Application();
$route = $app->getRoute();