for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
/*
* This file is part of the Valkyrja Framework package.
*
* (c) Melech Mizrachi <[email protected]>
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Valkyrja\Container;
use Valkyrja\Container\Contract\Service;
use Valkyrja\Container\Support\Provider;
/**
* Class Data.
* @author Melech Mizrachi
readonly class Data
{
* @param array<class-string, class-string> $aliases
array<class-string, class-string>
2
* @param array<class-string, class-string> $deferred
* @param array<class-string, callable> $deferredCallback
* @param array<class-string<Service>, class-string<Service>> $services
* @param array<class-string, class-string> $singletons
* @param class-string<Provider>[] $providers
public function __construct(
public array $aliases = [],
public array $deferred = [],
public array $deferredCallback = [],
public array $services = [],
public array $singletons = [],
public array $providers = [],
) {
}