src/Container.php
public function addSetter(string $alias, string $concrete, array $methods) : void
    {
        $definition = new SetterDefinition($concrete, $methods);

        $this->add($alias, $definition);
    }
public function addSetter(string $alias, string $concrete, array $methods) : void
    {
        $definition = new SetterDefinition($concrete, $methods);

        $this->add($alias, $definition);
    }
Add Setter

@param string $alias
@param string $concrete
@param array  $methods