Skip to content
Permalink
Browse files

Add documentation tags for methods not in interface

We can't add methods to the interface at this point in time, but in 4.x
these methods will be added.
  • Loading branch information...
markstory committed Feb 3, 2017
1 parent 73cabfe commit 27283981e8221d218ce184dee186be7a3cb9bbe0
Showing with 17 additions and 0 deletions.
  1. +17 −0 src/Datasource/EntityInterface.php
@@ -21,6 +21,23 @@
* Describes the methods that any class representing a data storage should
* comply with.
*
* In 4.x the following methods will officially be added to the interface:
*
* @method $this setHidden(array $properties, $merge = false)
* @method array getHidden()
* @method $this setVirtual(array $properties, $merge = false)
* @method array getVirtual()
* @method $this setDirty($property, $isDirty)
* @method bool isDirty($property = null)
* @method array getErrors()
* @method array getError($field)
* @method array setErrors(array $fields, $overwrite = false)
* @method array setError($field, $errors, overwrite = false)
* @method $this setAccess(array $properties, $merge = false)
* @method array isAccessible($property)
* @method $this setSource($source)
* @method array getSource()
*
* @property mixed $id Alias for commonly used primary key.
*/
interface EntityInterface extends ArrayAccess, JsonSerializable

0 comments on commit 2728398

Please sign in to comment.
You can’t perform that action at this time.