src/Config/ContainerBuilder.php
public function bind(string $typeName): Binding
    {
        if (empty($this->definitions[$typeName])) {
            $this->definitions[$typeName] = new Definition($typeName);
        }
        
        return new Binding($this->definitions[$typeName]);
    }
public function bind(string $typeName): Binding
    {
        if (empty($this->definitions[$typeName])) {
            $this->definitions[$typeName] = new Definition($typeName);
        }
        
        return new Binding($this->definitions[$typeName]);
    }
Create (or extend) a binding for the given type.