protected function addFindersByConfigs(array $configs): self
    {
        foreach ($configs as $package => $path)
        {
            $data = @include $path;

            if ($data && isset($data['easy-extend']))
            {
                $config = $data['easy-extend'];

                if ($config)
                {
                    if (isset($config['finder']))
                    {
                        $finder_callbacks = $config['finder'];

                        if (!is_array($finder_callbacks))
                            $finder_callbacks = array($finder_callbacks);

                        foreach ($finder_callbacks as $callback)
                        {
                            $finder = new Finder();
                            $finder = $callback($finder);

                            $this->addFinder($finder);
                        }
                    }

                    if (isset($config['bootstrap']))
                    {
                        $config['bootstrap']();
                    }
                }
            }
        }

        return $this;
    }