cpliakas / solarium-system
An admin/system request handler for Solarium.
3.0.0-beta1
2013-01-20 16:29 UTC
Requires
- php: >=5.3.2
- solarium/solarium: 3.0.*
This package is auto-updated.
Last update: 2024-11-25 12:51:25 UTC
README
An admin/system request handler for Solarium.
Usage
use Solarium\Client;
use Solarium\QueryType\System\Query as SystemQuery;
$client->registerQueryType(SystemQuery::QUERY_SYSTEM, 'Solarium\\QueryType\\System\\Query');
$system = $client->createQuery(SystemQuery::QUERY_SYSTEM);
$result = $client->execute($system);
print 'Schema: ' . $result->getCoreSchema(); . PHP_EOL;