Kernel : Linux vmw02p.internet-indee.net 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Tue Nov 16 14:42:35 UTC 2021 x86_64
Disable function : NONE
Safe mode : OFF
Host : firofichi.it | Server ip : 5.196.164.15 | Your ip : 3.133.129.70 | Time @ Server : 19 Oct 2024 05:29:20
MySQL : OFF | MSSQL : OFF | cURL : ON | Oracle : OFF | wget : ON | Perl : ON

/home/webmaster/firofichi/www/vendor/magento/framework/Api/

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

File Path : /home/webmaster/firofichi/www/vendor/magento/framework/Api/AbstractSimpleObjectBuilder.php

<?php /** * Copyright © Magento, Inc. All rights reserved. * See COPYING.txt for license details. */ namespace Magento\Framework\Api; /** * Base Builder Class for simple data Objects * @SuppressWarnings(PHPMD.NumberOfChildren) */ abstract class AbstractSimpleObjectBuilder implements SimpleBuilderInterface { /** * @var array */ protected $data; /** * @var ObjectFactory */ protected $objectFactory; /** * @param ObjectFactory $objectFactory */ public function __construct(ObjectFactory $objectFactory) { $this->data = []; $this->objectFactory = $objectFactory; } /** * Builds the Data Object * * @return AbstractSimpleObject */ public function create() { $dataObjectType = $this->_getDataObjectType(); $dataObject = $this->objectFactory->create($dataObjectType, ['data' => $this->data]); $this->data = []; return $dataObject; } /** * @param string $key * @param mixed $value * * @return $this */ protected function _set($key, $value) { $this->data[$key] = $value; return $this; } /** * Return the Data type class name * * @return string */ protected function _getDataObjectType() { $currentClass = get_class($this); $builderSuffix = 'Builder'; $dataObjectType = substr($currentClass, 0, -strlen($builderSuffix)); return $dataObjectType; } /** * Return data Object data. * * @return array */ public function getData() { return $this->data; } }