*/
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
$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