forked from solariumphp/solarium
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request solariumphp#362 from chadicus/fea/ClientInterface
[WIP] Fea/client interface
- Loading branch information
Showing
9 changed files
with
567 additions
and
17 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
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 |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
|
||
namespace Solarium\Support\DataFixtures; | ||
|
||
use Solarium\Core\Client\Client; | ||
use Solarium\Core\Client\ClientInterface; | ||
|
||
/** | ||
* @author Baldur Rensch <[email protected]> | ||
|
@@ -17,9 +17,9 @@ class Executor | |
/** | ||
* Constructor. | ||
* | ||
* @param \Solarium\Core\Client\Client $client | ||
* @param \Solarium\Core\Client\ClientInterface $client | ||
*/ | ||
public function __construct(Client $client) | ||
public function __construct(ClientInterface $client) | ||
{ | ||
$this->client = $client; | ||
} | ||
|
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 |
---|---|---|
|
@@ -2,15 +2,15 @@ | |
|
||
namespace Solarium\Support\DataFixtures; | ||
|
||
use Solarium\Core\Client\Client; | ||
use Solarium\Core\Client\ClientInterface; | ||
|
||
/** | ||
* @author Baldur Rensch <[email protected]> | ||
*/ | ||
interface FixtureInterface | ||
{ | ||
/** | ||
* @param Client $client | ||
* @param ClientInterface $client | ||
*/ | ||
public function load(Client $client); | ||
public function load(ClientInterface $client); | ||
} |
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
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
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
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
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
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