From 5e32205f76d1455f57c9fda4f3d1a0090e4ac1ed Mon Sep 17 00:00:00 2001 From: David Grudl Date: Wed, 20 Apr 2016 16:04:59 +0200 Subject: [PATCH] added some @property --- src/DI/ServiceDefinition.php | 4 ++++ src/DI/Statement.php | 2 ++ 2 files changed, 6 insertions(+) diff --git a/src/DI/ServiceDefinition.php b/src/DI/ServiceDefinition.php index 2d2347b5a..eb03945d2 100644 --- a/src/DI/ServiceDefinition.php +++ b/src/DI/ServiceDefinition.php @@ -12,6 +12,10 @@ /** * Definition used by ContainerBuilder. + * + * @property string|NULL $class + * @property Statement|NULL $factory + * @property Statement[] $setup */ class ServiceDefinition { diff --git a/src/DI/Statement.php b/src/DI/Statement.php index 7ca9a952b..941369417 100644 --- a/src/DI/Statement.php +++ b/src/DI/Statement.php @@ -12,6 +12,8 @@ /** * Assignment or calling statement. + * + * @property string|array|ServiceDefinition|NULL $entity */ class Statement {