Browse Source

Merge pull request #8633 from thinkingmedia/thinkingmedia/entity_interface

Adds an alias property for $id on EntityInterface
Mark Story 10 years ago
parent
commit
20cc32849f
1 changed files with 2 additions and 0 deletions
  1. 2 0
      src/Datasource/EntityInterface.php

+ 2 - 0
src/Datasource/EntityInterface.php

@@ -20,6 +20,8 @@ use JsonSerializable;
 /**
  * Describes the methods that any class representing a data storage should
  * comply with.
+ *
+ * @property mixed $id Alias for commonly used primary key.
  */
 interface EntityInterface extends ArrayAccess, JsonSerializable
 {