File tree Expand file tree Collapse file tree 1 file changed +11
-1
lines changed
src/Mapping/PropertyAccessors Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Original file line number Diff line number Diff line change 4
4
5
5
namespace Doctrine \ORM \Mapping \PropertyAccessors ;
6
6
7
- /** @internal */
7
+ /**
8
+ * A property accessor is a class that allows to read and write properties on objects regardless of visibility.
9
+ *
10
+ * We use them while creating objects from database rows in {@link UnitOfWork::createEntity()} or when
11
+ * computing changesets from objects that are about the written back to the database in {@link UnitOfWork::computeChangeSet()}.
12
+ *
13
+ * This abstraction over ReflectionProperty is necessary, because for several features of either Doctrine or PHP, we
14
+ * need to handle edge cases in reflection at a central location in the code.
15
+ *
16
+ * @internal
17
+ */
8
18
interface PropertyAccessor
9
19
{
10
20
public function setValue (object $ object , mixed $ value ): void ;
You can’t perform that action at this time.
0 commit comments