| Current Path : /var/www/www.indacotrentino.com/www/vendor/laminas/laminas-di/src/Resolver/ |
| Current File : /var/www/www.indacotrentino.com/www/vendor/laminas/laminas-di/src/Resolver/AbstractInjection.php |
<?php
// phpcs:ignoreFile
declare(strict_types=1);
namespace Laminas\Di\Resolver;
use function sprintf;
use function trigger_error;
use const E_USER_DEPRECATED;
trigger_error(
sprintf(
'%s is deprecated, please migrate to %s',
AbstractInjection::class,
InjectionInterface::class
),
E_USER_DEPRECATED
);
/**
* @deprecated Since 3.1.0
*
* @see InjectionInterface
*
* @codeCoverageIgnore Deprecated
*/
abstract class AbstractInjection
{
private string $parameterName;
public function setParameterName(string $name): self
{
$this->parameterName = $name;
return $this;
}
public function getParameterName(): string
{
return $this->parameterName;
}
abstract public function export(): string;
abstract public function isExportable(): bool;
}