]> git.mxchange.org Git - friendica.git/commitdiff
Remove Container::setup()
authorArt4 <art4@wlabs.de>
Thu, 9 Jan 2025 13:35:03 +0000 (13:35 +0000)
committerArt4 <art4@wlabs.de>
Thu, 9 Jan 2025 13:35:03 +0000 (13:35 +0000)
src/Core/Container.php
src/Core/DiceContainer.php

index 8d697991221f8030193151a3621216ef12a69f7c..1017590a857c8ac2d422e23f256c1a550113e9a3 100644 (file)
@@ -14,15 +14,6 @@ namespace Friendica\Core;
  */
 interface Container
 {
-       /**
-        * Initialize the container with the given parameters
-        *
-        * @deprecated
-        *
-        * @return void
-        */
-       public function setup(): void;
-
        /**
         * Returns a fully constructed object based on $name using $args and $share as constructor arguments if supplied
         * @param string $name  name The name of the class to instantiate
index acbb0862b9c8277edec340ff2bc5ce201dbb6ced..304c1e411de9aed60b408930859ac94ef54de709 100644 (file)
@@ -32,18 +32,6 @@ final class DiceContainer implements Container
                $this->container = $container;
        }
 
-       /**
-        * Initialize the container with the given parameters
-        *
-        * @deprecated
-        *
-        * @return void
-        */
-       public function setup(): void
-       {
-               // this method can be removed
-       }
-
        /**
         * Returns a fully constructed object based on $name using $args and $share as constructor arguments if supplied
         * @param string $name  name The name of the class to instantiate