com\setasign\SetaFramework\Di\Attribute

PreventCreation Defines that the di should never create an instance of this object. Cannot be used for abstractObjects or interfaces.

File: /SetaFramework/src/Di/Attribute/PreventCreation.php

Class hierarchy

Summary

Properties

$errorMessage


Methods

__construct()

public PreventCreation::__construct (
string $errorMessage
)
Parameters
$errorMessage : string