src/ProviderContainer.php
public function done()
    {
        if (array_diff($this->registered, $this->serviceProvider->provides())) {
            throw new ServiceProviderException(
                get_class($this->serviceProvider) . ' said it would provide: "' .
                join(', ', $this->serviceProvider->provides()) . '" but ended up providing "' .
                join(', ', $this->registered) . '"'
            );
        }
    }
public function done()
    {
        if (array_diff($this->registered, $this->serviceProvider->provides())) {
            throw new ServiceProviderException(
                get_class($this->serviceProvider) . ' said it would provide: "' .
                join(', ', $this->serviceProvider->provides()) . '" but ended up providing "' .
                join(', ', $this->registered) . '"'
            );
        }
    }
public function done ( ) { if ( array_diff ( $ this -> registered , $ this -> serviceProvider -> provides ( ) ) ) { throw new ServiceProviderException ( get_class ( $ this -> serviceProvider ) . ' said it would provide: "' . join ( ', ' , $ this -> serviceProvider -> provides ( ) ) . '" but ended up providing "' . join ( ', ' , $ this -> registered ) . '"' ) ; } }
Check all the items that were promised were actually registered
Check all the items that were promised were actually registered