api/symfony/Component/DependencyInjection/Reference.yaml

21 lines
758 B
YAML
Raw Normal View History

2024-09-26 09:03:21 +00:00
name: Reference
class_comment: '# * Reference represents a service reference.
# *
# * @author Fabien Potencier <fabien@symfony.com>'
dependencies: []
properties: []
methods:
- name: getInvalidBehavior
visibility: public
parameters: []
comment: "# * Reference represents a service reference.\n# *\n# * @author Fabien\
\ Potencier <fabien@symfony.com>\n# */\n# class Reference\n# {\n# public function\
\ __construct(\n# private string $id,\n# private int $invalidBehavior = ContainerInterface::EXCEPTION_ON_INVALID_REFERENCE,\n\
# ) {\n# }\n# \n# public function __toString(): string\n# {\n# return $this->id;\n\
# }\n# \n# /**\n# * Returns the behavior to be used when the service does not\
\ exist."
traits: []
interfaces: []