Skip to content

Commit

Permalink
chaining method
Browse files Browse the repository at this point in the history
  • Loading branch information
garveen committed Aug 21, 2016
1 parent a9a109f commit 4e011fe
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/ElasticquentMultiSearch.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ public function __construct(array $attributes = [])
public function setIndexName($indices)
{
$this->indices = $indices;
return $this;
}

public function getIndexName()
Expand All @@ -44,6 +45,7 @@ public function getIndexName()
public function setTypeName($types)
{
$this->types = $types;
return $this;

}

Expand Down

0 comments on commit 4e011fe

Please sign in to comment.