Stauros\Stauros::__construct PHP Метод

__construct() публичный Метод

public __construct ( Config $htmlConfig = null )
$htmlConfig Stauros\HTML\Config
    public function __construct(HTML\Config $htmlConfig = null)
    {
        if ($htmlConfig) {
            $this->htmlConfig = $htmlConfig;
        } else {
            $this->htmlConfig = new HTML\Config();
        }
    }