* @license http://github.com/basdenooijer/solarium/raw/master/COPYING * @link http://www.solarium-project.org/ * * @package Solarium * @subpackage Query */ /** * Debug component * * @link http://wiki.apache.org/solr/CommonQueryParameters#Debugging * * @package Solarium * @subpackage Query */ class Solarium_Query_Select_Component_Debug extends Solarium_Query_Select_Component { /** * Component type * * @var string */ protected $_type = Solarium_Query_Select::COMPONENT_DEBUG; /** * Get the explainOther option * * @return string|null */ public function getExplainOther() { return $this->getOption('explainother'); } /** * Set the explainOther query * * @param string $query * @return self Provides fluent interface */ public function setExplainOther($query) { return $this->_setOption('explainother', $query); } }