src/Container.php
public function flush() : ContainerInterface
    {
        $this->collection = [];
        $this->dependencies = [];
        $this->resolving = [];
        $this->resolved = [];

        return $this;
    }
public function flush() : ContainerInterface
    {
        $this->collection = [];
        $this->dependencies = [];
        $this->resolving = [];
        $this->resolved = [];

        return $this;
    }
public function flush ( ) : ContainerInterface { $ this -> collection = [ ] ; $ this -> dependencies = [ ] ; $ this -> resolving = [ ] ; $ this -> resolved = [ ] ; return $ this ; }
Reset the container, removing all the elements, cache and options.

@return ContainerInterface
Reset the container removing all the elements cache and options .