Skip to content

Commit

Permalink
Merge pull request #18 from spira/feature/custom-indexes
Browse files Browse the repository at this point in the history
Adding overridable functions which allow a model to create/delete cus…
  • Loading branch information
zakhenry committed Dec 23, 2015
2 parents c9d5658 + 8e5d42b commit 040ed87
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions Model/Model/IndexedModel.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,14 @@ abstract class IndexedModel extends BaseModel
],
];

public static function createCustomIndexes()
{
}

public static function deleteCustomIndexes()
{
}

/**
* Create a new Eloquent Collection instance with ElasticquentCollectionTrait.
*
Expand Down

0 comments on commit 040ed87

Please sign in to comment.