Skip to content

Commit

Permalink
Update documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
viniciuspugliese committed Feb 19, 2018
1 parent 34079b3 commit 02ab8de
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions docs/categories.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ use PrimeiraMao\Categories\TrademarkModel;
// ------- Categories -------
$category = new Category();

// Find one register for id
// Find one register for category id
$response = $category->find(1);

// Find all registers
Expand All @@ -31,7 +31,7 @@ die();
// Init class with category id
$trademark = new Trademark(1);

// Find one register for id
// Find one register for trademark id
$response = $trademark->find(1);

// Find all registers
Expand All @@ -43,10 +43,10 @@ die();


// ------- TrademarkModel -------
// Init class with category id
$trademark_model = new TrademarkModel(1);
// Init class with category id and trademark id
$trademark_model = new TrademarkModel(1, 1);

// Find one register for id
// Find versions registers for trademark model id
$response = $trademark_model->find(1);

// Find all registers
Expand Down

0 comments on commit 02ab8de

Please sign in to comment.