-
Notifications
You must be signed in to change notification settings - Fork 64
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Moved Endpoint Proxies in Namespace Generator to Separate Folder (#202)
Signed-off-by: saimedhi <[email protected]>
- Loading branch information
Showing
3 changed files
with
34 additions
and
39 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
<?php | ||
|
||
return <<<'EOD' | ||
/** | ||
* Alias function to getAlias() | ||
* | ||
* @deprecated added to prevent BC break introduced in 7.2.0 | ||
* @see https://github.com/elastic/elasticsearch-php/issues/940 | ||
*/ | ||
public function getAliases(array $params = []) | ||
{ | ||
return $this->getAlias($params); | ||
} | ||
EOD; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
<?php | ||
|
||
return <<<'EOD' | ||
/** | ||
* Proxy function to list() to prevent BC break since 7.4.0 | ||
*/ | ||
public function tasksList(array $params = []) | ||
{ | ||
return $this->list($params); | ||
} | ||
EOD; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters