Browse Source

Merge pull request #17470 from cakephp/entityinterface

Add missing method to interface as soft-req
Mark Story 2 years ago
parent
commit
6a8198139a
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/Datasource/EntityInterface.php

+ 1 - 0
src/Datasource/EntityInterface.php

@@ -26,6 +26,7 @@ use Stringable;
  *
  * @property mixed $id Alias for commonly used primary key.
  * @template-extends \ArrayAccess<string, mixed>
+ * @method bool hasValue(string $field)
  */
 interface EntityInterface extends ArrayAccess, JsonSerializable, Stringable
 {