3 namespace League\Container\Definition;
5 interface ClassDefinitionInterface extends DefinitionInterface
8 * Add a method to be invoked
10 * @param string $method
14 public function withMethodCall($method, array $args = []);
17 * Add multiple methods to be invoked
19 * @param array $methods
22 public function withMethodCalls(array $methods = []);