public function getExtensions(Container $app)
    {
        $directories = $this->findExtensionsDirectories($app);

        foreach ($directories as $directory) {
            $extensionName                                  = $directory->getRelativePathname();
            $this->extensions[$extensionName]['name']       = $extensionName;
            $this->extensions[$extensionName]['pathName']   = $directory->getPathName();
        }

        return $this->extensions;
    }