Returns an array of libraries
@return array
547191
public function getList()
    {
        $libraries = &gplcart_static('library.list');

        if (isset($libraries)) {
            return (array) $libraries;
        }

        $libraries = (array) gplcart_config_get(GC_FILE_CONFIG_LIBRARY);
        $this->hook->attach('library.list', $libraries, $this);
        $libraries = (array) $this->prepareList($libraries);

        return $libraries;
    }
765818
public function getResources()
    {
        $keys = $this->capabilities->keys();
        $definitions = [];

        foreach ($keys as $key) {
            $definitions[$key] = $this->capabilities->get($key);
        }

        return $definitions;
    }
1283590
public function getLists()
    {
        if(!$this->isPropertyAvailable('Lists')){
            $this->setProperty("Lists", new ListCollection($this->getContext(),new ResourcePathEntity($this->getContext(),$this->getResourcePath(),"Lists")));
        }
        return $this->getProperty("Lists");
    }
191084
public function toArray()
    {
        return [
            'userAgent'          => $this->userAgent,
            'browser'            => $this->browser,
            'version'            => $this->version,
            'majorVersion'       => $this->majorVersion,
            'minorVersion'       => $this->minorVersion,
            'browserWithVersion' => $this->browserWithVersion,
            'publisher'          => $this->publisher,
            'platform'           => $this->platform,
            'device'             => $this->device,
            'devicePointer'      => $this->devicePointer,
            'isMobile'           => $this->isMobile,
            'isTablet'           => $this->isTablet(),
            'isCrawler'          => $this->isCrawler,
        ];
    }
632251
public function CreateArray() {

        $allPackages = $this->allLaSalleSoftwarePackages();

        $installedPackages = [];

        foreach ($allPackages as $class) {

            if ( defined("\\".$class."\\Version::VERSION") ) {

                $installedPackages[] = [
                    'class'       => $class,
                    'version'     => constant("\\".$class."\\Version::VERSION"),
                    'description' => constant("\\".$class."\\Version::PACKAGE"),
                ];
            }
       }

        return $installedPackages;
    }
1010417
public function toArray(): array
    {
        return [
            'name'         => $this->package->getName(),
            'vendorName'   => $this->getVendorName(),
            'packageName'  => $this->getPackageName(),
            'version'      => $this->package->getVersion(),
            'required'     => $this->isRequired(),
            'installed'    => $this->isInstalled(),
            'activated'    => $this->isActivated(),
            'path'         => $this->getPath(),
            'namespace'    => $this->getRootNamespace(),
            'friendlyName' => $this->getFriendlyName(),
            'type'         => $this->getFriendlyType(),
            'status'       => $this->getStatus(),
        ];
    }
603906
def libraries():
    """"""
    ls = libraries_dir().dirs()
    ls = [str(x.name) for x in ls]
    ls.sort()
    return ls
357883
public function getGoogleMapAddressLibraries()
    {
        return $this->scopeConfig->getValue(
            self::XML_GOOGLE_MAP_ADDRESS_LIBRARIES,
            \Magento\Store\Model\ScopeInterface::SCOPE_STORE
        );
    }
546271
def get_libraries():
    ''''''
    # Note that this list does not include libcsamtools.so as there are
    # numerous name conflicts with libchtslib.so.
    dirname = os.path.abspath(os.path.join(os.path.dirname(__file__)))
    pysam_libs = ['libctabixproxies',
                  'libcfaidx',
                  'libcsamfile',
                  'libcvcf',
                  'libcbcf',
                  'libctabix']
    if pysam.config.HTSLIB == "builtin":
        pysam_libs.append('libchtslib')

    so = sysconfig.get_config_var('SO')
    return [os.path.join(dirname, x + so) for x in pysam_libs]
1059695
public function libraries()
    {
        if (is_null($this->libraryRequests)) {
            $this->libraryRequests = new LibraryRequests($this->client);
        }

        return $this->libraryRequests;
    }
1108080
public function toArray()
    {
        return [
            'purgeJs' => function() {
                $this->purgeJs();
            },
            'addJs' => function($js, LambdaHelper $helper) {
                $this->addJs($js, $helper);
            },
            'js' => function() {
                return $this->js();
            },
            'addJsRequirement' => function($js, LambdaHelper $helper) {
                $this->addJsRequirement($js, $helper);
            },
            'jsRequirements' => function() {
                return $this->jsRequirements();
            },
            'addCss' => function($css, LambdaHelper $helper) {
                $this->addCss($css, $helper);
            },
            'purgeCss' => function() {
                $this->purgeCss();
            },
            'css' => function() {
                return $this->css();
            },
            'addCssRequirement' => function($css, LambdaHelper $helper) {
                $this->addCssRequirement($css, $helper);
            },
            'cssRequirements' => function() {
                return $this->cssRequirements();
            },
            'purgeAssets' => function() {
                $this->purgeAssets();
            },
        ];
    }
223787
public function getClassLoaders()
    {
        if (null !== static::$classLoaders) {
            return static::$classLoaders;
        }

        static::$classLoaders = array();

        foreach (spl_autoload_functions() as $function) {
            if (is_array($function) && count($function[0]) > 0 && is_object($function[0]) && 'Composer\Autoload\ClassLoader' === get_class($function[0])) {
                static::$classLoaders[] = $function[0];
            }
        }

        return static::$classLoaders;
    }
855814
protected function getClassFiles()
	{
		$app = $this->laravel;

		$core = require __DIR__.'/Optimize/config.php';

		$files = array_merge($core, $this->laravel['config']->get('compile.files', []));

		foreach ($this->laravel['config']->get('compile.providers', []) as $provider)
		{
			$files = array_merge($files, forward_static_call([$provider, 'compiles']));
		}

		return $files;
	}
196944
public function toArray()
    {
        return [
            'platform'        => $this->platform,
            'environment'     => $this->environment,
            'version'         => $this->version,
            'majorVersion'    => $this->majorVersion,
            'minorVersion'    => $this->minorVersion,
            'patchVersion'    => $this->patchVersion,
            'deviceOsVersion' => $this->deviceOsVersion,
            'device'          => $this->device,
        ];
    }
170897
public function toArray()
    {
        return [
            'key'      => $this->key(),
            'name'     => $this->name(),
            'script'   => $this->script(),
            'dir'      => $this->direction(),
            'native'   => $this->native(),
            'regional' => $this->regional(),
        ];
    }
569282
public function getFiles()
    {
        $files = $this->files;

        foreach ($this->types as $type) {
            $files = array_merge($files, $type->getFiles());
        }
        
        $path = \Altamira\Config::getInstance()->getPluginPath( $this->getLibrary() );
        
        array_walk( $files, function( &$val ) use ( $path ) { $val = $path . $val; } ); 

        return $files;
    }
413151
public function getInstallers()
    {
        $this->orderedInstallers = [];

        if ($this->orderInstallersByNumber) {
            $this->orderInstallersByNumber();
        }

        if ($this->orderInstallersByDependencies) {
            $this->orderInstallersByDependencies();
        }

        if (!$this->orderInstallersByNumber && !$this->orderInstallersByDependencies) {
            $this->orderedInstallers = $this->installers;
        }

        return $this->orderedInstallers;
    }