]> git.mxchange.org Git - friendica.git/commitdiff
Mark App as final and internal
authorArt4 <art4@wlabs.de>
Wed, 22 Jan 2025 15:24:32 +0000 (15:24 +0000)
committerArt4 <art4@wlabs.de>
Wed, 22 Jan 2025 15:24:32 +0000 (15:24 +0000)
src/App.php

index 73f2913b1a5841ac65bdef33017d4c9460e335b3..b756a847d97df37fa63c2cce944e71c8504c8bd1 100644 (file)
@@ -57,6 +57,7 @@ use Psr\Log\LoggerInterface;
  * and anything else that might need to be passed around
  * before we spit the page out.
  *
+ * @final
  */
 class App
 {
@@ -64,6 +65,9 @@ class App
        const CODENAME = 'Interrupted Fern';
        const VERSION  = '2025.02-dev';
 
+       /**
+        * @internal
+        */
        public static function fromContainer(Container $container): self
        {
                return new self($container);
@@ -130,6 +134,9 @@ class App
                $this->container = $container;
        }
 
+       /**
+        * @internal
+        */
        public function processRequest(ServerRequestInterface $request, float $start_time): void
        {
                $this->container->addRule(Mode::class, [
@@ -178,6 +185,9 @@ class App
                );
        }
 
+       /**
+        * @internal
+        */
        public function processConsole(array $argv): void
        {
                $this->setupContainerForAddons();
@@ -193,6 +203,9 @@ class App
                (\Friendica\Core\Console::create($this->container, $argv))->execute();
        }
 
+       /**
+        * @internal
+        */
        public function processEjabberd(): void
        {
                $this->setupContainerForAddons();