Skip to content

Commit

Permalink
updated documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
Nil Portugués Calderó committed Apr 6, 2017
1 parent 9ccaf68 commit d1f772f
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -323,6 +323,15 @@ class EmployeesTransformer implements JsonApiMapping
{
return [];
}

/**
* Returns an array of properties that are mandatory to be passed in when doing create or update.
*
* @return array
*/
public function getRequiredProperties() {
return [];
}
}
```

Expand Down Expand Up @@ -390,6 +399,15 @@ class OrdersTransformer implements JsonApiMapping
{
return [];
}

/**
* Returns an array of properties that are mandatory to be passed in when doing create or update.
*
* @return array
*/
public function getRequiredProperties() {
return [];
}
}
```

Expand Down

0 comments on commit d1f772f

Please sign in to comment.