for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* YAWIK
*
* @filesource
* @copyright (c) 2013 - 2016 Cross Solution (http://cross-solution.de)
* @license MIT
*/
namespace Solr\Options;
use Zend\Stdlib\AbstractOptions;
* Provide available options for Solr Module
* @author Anthonius Munthi <[email protected]>
* @since 0.27
* @package Solr\Options
class ModuleOptions extends AbstractOptions
{
* @var bool
protected $secure = false;
* @var string
protected $hostname = 'localhost';
* @var integer
protected $port = 80;
protected $path = '/solr';
protected $username = '';
protected $password = '';
* @return boolean
public function isSecure()
return $this->secure;
}
* @param boolean $secure
* @return ModuleOptions
public function setSecure($secure)
$this->secure = $secure;
return $this;
* @return string
public function getHostname()
return $this->hostname;
* @param string $hostname
public function setHostname($hostname)
$this->hostname = $hostname;
* @return int
public function getPort()
return $this->port;
* @param int $port
public function setPort($port)
$this->port = $port;
public function getPath()
return $this->path;
* @param string $path
public function setPath($path)
$this->path = $path;
public function getUsername()
return $this->username;
* @param string $username
public function setUsername($username)
$this->username = $username;
public function getPassword()
return $this->password;
* @param string $password
public function setPassword($password)
$this->password = $password;