Get asset delivery policies list.

@return AssetDeliveryPolicy[]
779473
public function getAssetDeliveryPolicyList()
    {
        $propertyList = $this->_getEntityList('AssetDeliveryPolicies');
        $result = [];

        foreach ($propertyList as $properties) {
            $result[] = AssetDeliveryPolicy::createFromOptions($properties);
        }

        return $result;
    }
640970
public java.util.List<DeliveryChannel> getDeliveryChannels() {
        if (deliveryChannels == null) {
            deliveryChannels = new com.amazonaws.internal.SdkInternalList<DeliveryChannel>();
        }
        return deliveryChannels;
    }
880283
public static function getAssetFilePaths($type)
    {
        $path = sprintf('%s/assets/%s/', __DIR__, $type);
        $filenames = preg_grep('/^[^\.]/', scandir($path));
        if (!Arr::iterable($filenames)) {
            return array();
        }

        return array_map(function ($filename) use ($path) {
            return $path.$filename;
        }, $filenames);
    }
313206
public static function getAssetCompressFiles(): array
    {
        $helper = new FrontendBridgeHelper(new View());
        $dependencies = $helper->compileDependencies();
        $plugins = array_map('\Cake\Utility\Inflector::underscore', Plugin::loaded());

        foreach ($dependencies as $n => $dependency) {
            $parts = explode('/', $dependency);
            if (empty($parts[0]) && in_array($parts[1], $plugins)) {
                $prefix = '/' . $parts[1] . '/';
                $dependency = preg_replace(
                    '/^' . str_replace('/', '\/', $prefix) . '/',
                    'plugin:' . Inflector::camelize($parts[1]) . ':',
                    $dependency
                );
            }
            if (substr($dependency, 0, 4) == '/js/') {
                $dependency = substr($dependency, 4);
            }
            $dependencies[$n] = $dependency;
        }

        return $dependencies;
    }
483915
protected function getPayloads() {
        if (!$this->_payloads) {
            $this->_payloads = new PayloadList(
                $this->version,
                $this->solution['accountSid'],
                $this->solution['referenceSid'],
                $this->solution['sid']
            );
        }

        return $this->_payloads;
    }
46526
public function getNotMappedToRDFaDeliverySets()
    {
        $oDelSets = oxNew(\OxidEsales\Eshop\Application\Model\DeliverySetList::class);
        $oDelSets->loadNonRDFaDeliverySetList();

        return $oDelSets;
    }
31009
public function getDeliveryChargeSpecs()
    {
        $aDeliveryChargeSpecs = [];
        $oDeliveryChargeSpecs = $this->getDeliveryList();
        foreach ($oDeliveryChargeSpecs as $oDeliveryChargeSpec) {
            if ($oDeliveryChargeSpec->oxdelivery__oxaddsumtype->value == "abs") {
                $oDelSets = oxNew(\OxidEsales\Eshop\Application\Model\DeliverySetList::class);
                $oDelSets->loadRDFaDeliverySetList($oDeliveryChargeSpec->getId());
                $oDeliveryChargeSpec->deliverysetmethods = $oDelSets;
                $aDeliveryChargeSpecs[] = $oDeliveryChargeSpec;
            }
        }

        return $aDeliveryChargeSpecs;
    }
632153
public function getAllDeliveryIds()
    {
        $returnValue = array();
        $sql = 'SELECT ' . self::RESULTS_TABLE_ID . ', ' . self::DELIVERY_COLUMN . ' FROM ' . self::RESULTS_TABLENAME;
        $results = $this->getPersistence()->query($sql);
        foreach ($results as $value) {
            $returnValue[] = array(
                "deliveryResultIdentifier" => $value[self::RESULTS_TABLE_ID],
                "deliveryIdentifier" => $value[self::DELIVERY_COLUMN]
            );
        }
        return $returnValue;
    }
1124816
public function getDeliverTemplateList()
    {
        $result = $this->httpRaw(self::WECHAT_SHOP_DELIVERY_TEMPLATE_LIST_GET_URL .
            'access_token=' . $this->getAccessToken());
        return isset($result['errmsg']) && $result['errmsg'] == 'success' ? $result['templates_info'] : false;
    }
1053924
protected function csp(): array
    {
        if (! is_null($this->config['custom-csp'])) {
            if (empty($this->config['custom-csp'])) {
                return [];
            }

            return [
                'Content-Security-Policy' => $this->config['custom-csp'],
            ];
        }

        return Builder::getCSPHeader($this->config['csp']);
    }
732442
public function getPublicResourcePaths()
    {
        $paths = [];
        foreach ($this->packageManager->getFlowPackages() as $packageKey => $package) {
            $publicResourcesPath = Files::concatenatePaths([$package->getResourcesPath(), 'Public']);
            if (is_dir($publicResourcesPath)) {
                $paths[$packageKey] = $publicResourcesPath;
            }
        }
        return $paths;
    }
312675
public function resourceAssets()
    {
        return [
            ADMINLTETEMPLATE_PATH.'/resources/assets/css' => resource_path('assets/css'),
            ADMINLTETEMPLATE_PATH.'/resources/assets/img' => resource_path('assets/img'),
            ADMINLTETEMPLATE_PATH.'/resources/assets/js'   => resource_path('assets/js'),
            ADMINLTETEMPLATE_PATH.'/webpack.mix.js'        => base_path('webpack.mix.js'),
            ADMINLTETEMPLATE_PATH.'/package.json'          => base_path('package.json'),
        ];
    }
911810
protected function getDeliveries()
    {
        $service = $this->getServiceManager()->get(ProctorService::SERVICE_ID);
        $proctor = \common_session_SessionManager::getSession()->getUser();
        $context = $this->hasRequestParameter('context') ? $this->getRequestParameter('context') : null;
        $deliveries = $service->getProctorableDeliveries($proctor, $context);
        $data = array();
        foreach ($deliveries as $delivery) {
            $executions = $service->getProctorableDeliveryExecutions($proctor, $delivery, $context);
            $deliveryData = DeliveryHelper::buildDeliveryData($delivery, $executions);
            $deliveryData['url'] = _url('index', 'Monitor', null, is_null($context)
                ? ['delivery' => $delivery->getUri()]
                : ['delivery' => $delivery->getUri(), 'context' => $context]
            );
            $data[] = $deliveryData;
        }

        return $data;
    }
638225
protected function findAllAssetPackages()
    {
        $packages = array();

        //
        $namespaces = $this->dispatcher->getHints();

        foreach ($namespaces as $name => $hint) {
            $packages[] = $name;
        }

        return $packages;
    }
528474
protected function getDeliveryStates($locale)
    {
        $states = $this->getDeliveryStatusManager()->findAll($locale);

        $deliveryStates = [];
        foreach ($states as $state) {
            $deliveryStates[] = [
                'id' => $state->getId(),
                'name' => $state->getName(),
            ];
        }

        return $deliveryStates;
    }
1339044
protected function getWebpackAssets()
    {
        $assets = public_path('builds/manifest.json');
        $assets = file_get_contents($assets);
        $assets = json_decode($assets, true);

        return $assets;
    }
645140
public function provides()
    {
        $provides = [];

        foreach ($this->providers as $provider) {
            $instance = $this->app->resolveProvider($provider);

            $provides = array_merge($provides, $instance->provides());
        }

        return $provides;
    }