PHP Class Knp\Bundle\KnpBundlesBundle\Utils\SolrUtils

Mostrar archivo Open project: KnpLabs/KnpBundles Class Usage Examples

Public Methods

Method Description
__construct ( Solarium_Client $solarium, Symfony\Component\HttpKernel\KernelInterface $kernel )
buildProperties ( string $glue = ' ' ) : string Build SOLR start.jar properties
getSolrPid ( ) : integer Get SOLR pid
isSolrRunning ( ) : boolean

Private Methods

Method Description
getPropertiesArray ( ) : array

Method Details

__construct() public method

public __construct ( Solarium_Client $solarium, Symfony\Component\HttpKernel\KernelInterface $kernel )
$solarium Solarium_Client
$kernel Symfony\Component\HttpKernel\KernelInterface

buildProperties() public method

Build SOLR start.jar properties
public buildProperties ( string $glue = ' ' ) : string
$glue string
return string

getSolrPid() public method

Get SOLR pid
public getSolrPid ( ) : integer
return integer

isSolrRunning() public method

public isSolrRunning ( ) : boolean
return boolean