Browse Source

Fix doc block example to match method.

Mark Story 8 years ago
parent
commit
43a6430b61
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/Datasource/EntityTrait.php

+ 1 - 1
src/Datasource/EntityTrait.php

@@ -1121,7 +1121,7 @@ trait EntityTrait
      * Stores whether or not a property value can be changed or set in this entity.
      * The special property `*` can also be marked as accessible or protected, meaning
      * that any other property specified before will take its value. For example
-     * `$entity->accessible('*', true)` means that any property not specified already
+     * `$entity->setAccess('*', true)` means that any property not specified already
      * will be accessible by default.
      *
      * You can also call this method with an array of properties, in which case they