mirror of
https://github.com/friendica/friendica
synced 2025-01-19 12:19:46 +00:00
Remove Container::setup()
This commit is contained in:
parent
f1dba9f89e
commit
2ef943394d
2 changed files with 0 additions and 21 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue