
| Current Path : /var/www/html/holz-machines/vendor/league/container/src/ServiceProvider/ |
Linux ift1.ift-informatik.de 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64 |
| Current File : /var/www/html/holz-machines/vendor/league/container/src/ServiceProvider/AbstractServiceProvider.php |
<?php
declare(strict_types=1);
namespace League\Container\ServiceProvider;
use League\Container\ContainerAwareTrait;
abstract class AbstractServiceProvider implements ServiceProviderInterface
{
use ContainerAwareTrait;
/**
* @var string
*/
protected $identifier;
public function getIdentifier(): string
{
return $this->identifier ?? get_class($this);
}
public function setIdentifier(string $id): ServiceProviderInterface
{
$this->identifier = $id;
return $this;
}
}