platform/api/symfony/Component/DependencyInjection/Reference.yaml
2024-09-02 10:44:11 -07:00

20 lines
758 B
YAML

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: []