for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/*
* (c) Jean-Fran�ois L�pine <https://twitter.com/Halleck45>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Hal\Application\Config;
/**
* Template configuration
* @author Ramunas Geciauskas <[email protected]>
class TemplateConfiguration
{
* @var string Template title name
private $title;
* @var bool
private $offline;
* @param array $defaults Default settings
public function __construct(array $defaults = array())
$this->title = empty($defaults['title']) ? 'PhpMetrics report' : $defaults['title'];
$this->offline = isset($defaults['offline']) ? (bool) $defaults['offline'] : false;
}
* @param string $title
* @return self
public function setTitle($title)
$this->title = $title;
return $this;
* @return string
public function getTitle()
return $this->title;
* @return boolean
public function isOffline()
return $this->offline;
* @param boolean $offline
public function setOffline($offline)
$this->offline = (bool) $offline;