Remove Container::setup()

This commit is contained in:
Art4 2025-01-09 13:35:03 +00:00
parent f1dba9f89e
commit 2ef943394d
2 changed files with 0 additions and 21 deletions

View 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

View 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