Skip to content

Commit

Permalink
Merge pull request #70 from mvar/clean_objects
Browse files Browse the repository at this point in the history
Do not extend AbstractDocument for objects
  • Loading branch information
saimaz committed Dec 17, 2015
2 parents 0a80a47 + df886b4 commit 3beb194
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Document/Message.php
Expand Up @@ -19,7 +19,7 @@
*
* @ES\Object()
*/
class Message extends AbstractDocument implements \JsonSerializable
class Message implements \JsonSerializable
{
const DIRTY = 'dirty';
const FRESH = 'fresh';
Expand Down
2 changes: 1 addition & 1 deletion Document/Tag.php
Expand Up @@ -19,7 +19,7 @@
*
* @ES\Object()
*/
class Tag extends AbstractDocument
class Tag
{
/**
* @var string
Expand Down
4 changes: 2 additions & 2 deletions README.md
Expand Up @@ -75,7 +75,7 @@ fos_js_routing:
resource: "@FOSJsRoutingBundle/Resources/config/routing/routing.xml"
```

### Step 4: Create Elasticsearch Type for Translations
### Step 4: Configure Elasticsearch Bundle

This bundle provides `Translation` document. Add this bundle to your ES
manager's mapping to associate it:
Expand Down Expand Up @@ -163,7 +163,7 @@ with this source code.

[1]: LICENSE
[2]: Resources/doc/index.md
[3]: https://getcomposer.org/
[3]: https://getcomposer.org/doc/00-intro.md
[4]: https://github.com/ongr-io/ElasticsearchBundle
[5]: https://github.com/ongr-io/FilterManagerBundle
[6]: https://github.com/FriendsOfSymfony/FOSJsRoutingBundle
Expand Down

0 comments on commit 3beb194

Please sign in to comment.