1
0

Added static object linking & authorization methods

This commit is contained in:
2017-03-14 12:01:41 +01:00
parent 471b1cd75c
commit 1c54254c74
9 changed files with 242 additions and 36 deletions

37
src/Application.php Normal file
View File

@ -0,0 +1,37 @@
<?php
/**
* Informatica Eindproject D4p
* 6in3, Stedelijk Gymnasium Nijmegen
* Docent: Hans de Wolf
*
* ==================
*
* Daniel Boutros,
* Christiaan Goossens,
* Jelmer Hinssen
*/
namespace Inforbank;
class Application
{
public static $container;
public static $app;
public static function set($app)
{
self::$app = $app;
self::$container = $app->getContainer();
}
public static function getContainer()
{
return self::$container;
}
public static function getApplication()
{
return self::$app;
}
}