3 * @file src/BaseObject.php
7 require_once 'boot.php';
9 use Friendica\Core\Logger;
14 * Contains what is useful to any object
18 private static $app = null;
23 * Same as get_app from boot.php
27 public static function getApp()
29 if (empty(self::$app)) {
30 $logger = Logger::create('app');
31 self::$app = new App(dirname(__DIR__), $logger);
44 public static function setApp(App $app)