Dominik Liebler 0224d6daa4 README for DI
2013-09-24 13:21:54 +02:00

35 lines
479 B
PHP

<?php
namespace DesignPatterns\DependencyInjection;
/**
* class Configuration
*/
class Configuration
{
/**
* @var string
*/
protected $host;
/**
* @param string $host
*
* @return Configuration
*/
public function setHost($host)
{
$this->host = $host;
return $this; // for a fluent interface
}
/**
* @return string
*/
public function getHost()
{
return $this->host;
}
}