Social\Model\AddThis::__construct PHP Метод

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

Constructor
public __construct ( Config $configTable = null )
$configTable Gc\Core\Config Config table
    public function __construct(CoreConfig $configTable = null)
    {
        if ($configTable === null) {
            throw new Exception('Invalid parameter, $config must be an instance of \\Gc\\Core\\Config');
        }
        $this->configTable = $configTable;
        $config = @unserialize($this->configTable->getValue('module_addthis'));
        $this->config = array_merge($this->defaultOptions, $config ? $config : array());
        parent::__construct();
    }