src/Container.php
public function addClass(string $alias, string $concrete) : void
    {
        $definition = new ClassDefinition($concrete);

        $this->add($alias, $definition);
    }
public function addClass(string $alias, string $concrete) : void
    {
        $definition = new ClassDefinition($concrete);

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

Add a class to the container.

@param string $alias
@param string $concrete