Sh3ll
OdayForums


Server : LiteSpeed
System : Linux premium84.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64
User : claqxcrl ( 523)
PHP Version : 8.1.32
Disable Function : NONE
Directory :  /home/claqxcrl/anfangola.com/wp-content/plugins/matomo/app/core/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /home/claqxcrl/anfangola.com/wp-content/plugins/matomo/app/core/DI.php
<?php

/**
 * Matomo - free/libre analytics platform
 *
 * @link https://matomo.org
 * @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later
 *
 */
namespace Piwik;

use Matomo\Dependencies\DI as PHPDI;
/**
 * Proxy class for using DI related methods
 *
 * @api
 */
class DI
{
    /**
     * @param mixed $value
     * @return Matomo\Dependencies\DI\Definition\ValueDefinition
     */
    public static function value($value)
    {
        return PHPDI\value($value);
    }
    /**
     * @param string|null $className
     * @return Matomo\Dependencies\DI\Definition\Helper\CreateDefinitionHelper
     * @see PHPDI\create()
     */
    public static function create(string $className = null)
    {
        return PHPDI\create($className);
    }
    /**
     * @param string|null $className
     * @return Matomo\Dependencies\DI\Definition\Helper\AutowireDefinitionHelper
     * @see PHPDI\autowire()
     */
    public static function autowire(string $className = null)
    {
        return PHPDI\autowire($className);
    }
    /**
     * @param callable $factory
     * @return Matomo\Dependencies\DI\Definition\Helper\FactoryDefinitionHelper
     * @see PHPDI\factory()
     */
    public static function factory($factory)
    {
        return PHPDI\factory($factory);
    }
    /**
     * @param callable $callable
     * @return Matomo\Dependencies\DI\Definition\Helper\FactoryDefinitionHelper
     * @see PHPDI\decorate()
     */
    public static function decorate($callable)
    {
        return PHPDI\decorate($callable);
    }
    /**
     * @param string $entryName
     * @return Matomo\Dependencies\DI\Definition\Reference
     * @see PHPDI\get()
     */
    public static function get(string $entryName)
    {
        return PHPDI\get($entryName);
    }
    /**
     * @param string $variableName
     * @param mixed  $defaultValue
     * @return Matomo\Dependencies\DI\Definition\EnvironmentVariableDefinition
     * @see PHPDI\env()
     */
    public static function env(string $variableName, $defaultValue = null)
    {
        return PHPDI\env($variableName, $defaultValue);
    }
    /**
     * @param array|mixed $values
     * @return Matomo\Dependencies\DI\Definition\ArrayDefinitionExtension
     * @see PHPDI\add()
     */
    public static function add($values)
    {
        return PHPDI\add($values);
    }
    /**
     * @param string $expression
     * @return Matomo\Dependencies\DI\Definition\StringDefinition
     * @see PHPDI\string()
     */
    public static function string(string $expression)
    {
        return PHPDI\string($expression);
    }
}

ZeroDay Forums Mini