public function build()
    {
        $providers = $this->getProviders()->search();
        $facades = $this->getFacades()->search();

        if (!ConfigFile::instance($providers, $facades)->make()) {
            throw new ErrorException('Unable to register providers and facades. Please report this incident at Qafeen/Manager');
        }

        $this->getResources()->publish($providers[0]);

        return $this;
    }