BcSite::__construct PHP Method

__construct() public method

コンストラクタ
public __construct ( string $name, array $config )
$name string 名前
$config array 設定の配列
    public function __construct($name, array $config)
    {
        $this->name = $name;
        $this->_setConfig($config);
        $this->_Site = ClassRegistry::init('Site');
    }