diff --git a/src/ComponentModel/Component.php b/src/ComponentModel/Component.php index a5a3e8a..d7eaf22 100644 --- a/src/ComponentModel/Component.php +++ b/src/ComponentModel/Component.php @@ -17,8 +17,8 @@ * * Components are objects implementing IComponent. They has parent component and own name. * - * @property-read string $name - * @property-read IContainer|null $parent + * @property-deprecated string $name + * @property-deprecated IContainer|null $parent */ abstract class Component implements IComponent { diff --git a/src/ComponentModel/Container.php b/src/ComponentModel/Container.php index af66af9..4223aa4 100644 --- a/src/ComponentModel/Container.php +++ b/src/ComponentModel/Container.php @@ -15,7 +15,7 @@ /** * ComponentContainer is default implementation of IContainer. * - * @property-read \Iterator $components + * @property-deprecated \Iterator $components */ class Container extends Component implements IContainer {