Transform details into object

@return  object  Hubzero\Config\Registry
553182
public function transformDetails()
	{
		if (!isset($this->entryDetails))
		{
			$this->entryDetails = new Registry($this->get('details'));
		}

		return $this->entryDetails;
	}
291321
public function toObject() {

		$options = $this->getOptions();
		$result = (object) [
			'type' => 'list',
			'count' => $this->getCount(),
			'limit' => elgg_extract('limit', $options, elgg_get_config('default_limit')),
			'offset' => elgg_extract('offset', $options, 0),
			'sorts' => $this->sorts,
			'filters' => array_map(function($e) {
				return [
					'filter' => $e['filter'],
					'target' => $e['target'] ? $e['target']->guid : 0,
				];
			}, $this->fiilters),
			'items' => [],
		];

		$entities = new ElggBatch($this->getter, $options);
		foreach ($entities as $entity) {
			if (is_object($entity) && is_callable([$entity, 'toObject'])) {
				$result->items[] = $entity->toObject();
			} else {
				$result->items[] = $entity;
			}
		}

		return $result;
	}
588953
protected function _initObjects()
    {
        $this->_configDataObject = $this->_configFactory->create(
            [
                'data' => [
                    'section'   => $this->getSectionCode(),
                    'container' => $this->getContainerCode(),
                    'store'     => $this->getStoreCode(),
                ],
            ]
        );

        $this->_configData       = $this->_configDataObject->load();
        $this->_fieldsetRenderer = $this->_fieldsetFactory->create();
        $this->_fieldRenderer    = $this->_fieldFactory->create();

        return $this;
    }
336602
public function getRegisteredObject()
    {
        if($this->registeredObject == null)
        {
            $di = jaxon()->di();
            // Use the Reflection class to get the parameters of the constructor
            if(($constructor = $this->reflectionClass->getConstructor()) != null)
            {
                $parameters = $constructor->getParameters();
                $parameterInstances = [];
                foreach($parameters as $parameter)
                {
                    // Get the parameter instance from the DI
                    $parameterInstances[] = $di->get($parameter->getClass()->getName());
                }
                $this->registeredObject = $this->reflectionClass->newInstanceArgs($parameterInstances);
            }
            else
            {
                $this->registeredObject = $this->reflectionClass->newInstance();
            }
        }
        return $this->registeredObject;
    }
1293927
public function toArray()
    {
        $array = array();
        $data  = $this->__options;
        foreach ($data as $key => $value)
        {
            if ($value instanceof KObjectConfig) {
                $array[$key] = $value->toArray();
            } else {
                $array[$key] = $value;
            }
        }

        return $array;
    }
656960
public function getConfiguration()
    {
        if (null === $this->configuration) {
            $this->configuration = Propel::getConfiguration(PropelConfiguration::TYPE_OBJECT);
        }

        return $this->configuration;
    }
1133343
public function allToArray()
    {
        $config = [];

        try {
            foreach ($this->findAll() as $object) {
                $key = $object->key_name;
                if ($object->group_name != 'config') {
                    $config[$object->group_name][$key] = $object->value;
                } else {
                    $config[$key] = $object->value;
                }
            }
        } catch (Exception $e) {
            Log::error($e->getMessage());
        }

        return $config;
    }
68780
final protected function prepareInject() {
        $service = $this->getModule() . '\Services\\' . $this->getClassName() . 'Service';
        if (class_exists($service)) {
            return array_merge(parent::prepareInject(), $this->getConfigInject('controllers'), array(
                'service' => array(
                    'class' => $service
                ),
            ));
        }

        return array_merge($this->getConfigInject('controllers'), $this->inject());
    }
306692
public function toObjects()
    {
        if ($this->getResponseType() == 'application/json')
        {
            $response = $this->convertJsonToObjects($this->getBody());
        }
        elseif ($this->getResponseType() == 'application/binary')
        {
            $response = $this->convertSerializedToObjects($this->getBody());
        }
        else
        {
            $response = null;
        }

        if ( ! $response)
        {
            $this->throwResponseConversionException();
        }

        return $response;
    }
841712
public function fetch() {
        $params = Values::of(array());

        $payload = $this->version->fetch(
            'GET',
            $this->uri,
            $params
        );

        return new SettingsInstance($this->version, $payload);
    }
713624
public function discard() {
		$filter = array_flip(func_get_args());
		$obj = $this->preserveInstance ? $this : clone $this;
		$obj->config = array_diff_key($this->config, $filter);
		return $obj;
	}
1268914
protected function __reconstruct()
    {
        // Modules default app
        if (null !== ($defaultApp = config('app'))) {
            if (false !== ($defaultModule = modules()->getApp($defaultApp))) {
                // Register Domain App Module Namespace
                loader()->addNamespace($defaultModule->getNamespace(), $defaultModule->getRealPath());

                // Push Domain App Module
                modules()->push($defaultModule);
            } elseif (false !== ($defaultModule = modules()->getModule($defaultApp))) {
                // Register Path Module Namespace
                loader()->addNamespace($defaultModule->getNamespace(), $defaultModule->getRealPath());

                // Push Path Module
                modules()->push($defaultModule);
            }
        }

        if (profiler() !== false) {
            profiler()->watch('Calling Hooks Service: Post System');
        }
        hooks()->callEvent(Framework\Services\Hooks::POST_SYSTEM);

        if (is_cli()) {
            $this->cliHandler();
        } else {
            $this->httpHandler();
        }
    }
584163
public function getConfig()
    {
        if ($this->_oConfigObject === null) {
            $this->_oConfigObject = oxRegistry::getConfig();
        }

        return $this->_oConfigObject;
    }
694709
public function build(): object
    {
        $object = $this->instanciator->build($this->class, $this->properties);
        $parameters = $this->instanciator->parameters($this->class);

        //avoid injecting the properties already used in the constructor
        $properties = $this
            ->properties
            ->filter(function(string $property) use ($parameters) {
                return !$parameters->contains($property);
            });
        $refl = new ReflectionObject(
            $object,
            $properties,
            $this->injectionStrategy
        );

        return $refl->build();
    }
75030
public function getFirmaObject()
    {
        if (is_null($this->firma)) {
            $this->firma = new Adresar($this->getDataValue('firma'),
                ['details' => 'id']);
        }
        return $this->firma;
    }
1052442
public function serialize()
    {
        SerializableClosure::enterContext();

        $engines = $this->engines;

        foreach ($engines as &$engine) {
            if ($engine[0] instanceof \Closure) {
                $engine[0] = SerializableClosure::from($engine[0]);
            }
        }

        $object = serialize([
            'engines' => $engines,
            'renderer' => $this->renderer
        ]);

        SerializableClosure::exitContext();

        return $object;
    }
425571
public function getObject()
    {
        if ($this->thawedObject === null) {
            $this->thawedObject = $this->storage->fetch($this->id);
        }

        return $this->thawedObject;
    }