* and anything else that might need to be passed around
* before we spit the page out.
*
+ * @final
*/
class App
{
const CODENAME = 'Interrupted Fern';
const VERSION = '2025.02-dev';
+ /**
+ * @internal
+ */
public static function fromContainer(Container $container): self
{
return new self($container);
$this->container = $container;
}
+ /**
+ * @internal
+ */
public function processRequest(ServerRequestInterface $request, float $start_time): void
{
$this->container->addRule(Mode::class, [
);
}
+ /**
+ * @internal
+ */
public function processConsole(array $argv): void
{
$this->setupContainerForAddons();
(\Friendica\Core\Console::create($this->container, $argv))->execute();
}
+ /**
+ * @internal
+ */
public function processEjabberd(): void
{
$this->setupContainerForAddons();