for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* Webino (http://webino.sk)
*
* @link https://github.com/webino/WebinoCanonicalRedirect for the canonical source repository
* @copyright Copyright (c) 2014-2017 Webino, s. r. o. (http://webino.sk)
* @author Peter Bačinský <[email protected]>
* @license BSD-3-Clause
*/
namespace WebinoCanonicalRedirect\Options;
use Zend\Stdlib\AbstractOptions;
* WebinoCanonicalRedirect module options
class ModuleOptions extends AbstractOptions
{
* @var bool
protected $enabled = true;
protected $www = false;
protected $slash = false;
* @return bool
public function isEnabled()
return $this->enabled;
}
* @param bool $enabled
public function setEnabled($enabled)
$this->enabled = (bool) $enabled;
public function useWww()
return $this->www;
* @param bool $www
public function setWww($www)
$this->www = (bool) $www;
public function useSlash()
return $this->slash;
* @param bool $slash
public function setSlash($slash)
$this->slash = (bool) $slash;