You are here

private function AddThisScriptManager::__construct in AddThis 7.4

Construct method.

File

classes/Services/AddThisScriptManager.php, line 25
Class definition of a script manager.

Class

AddThisScriptManager
@file Class definition of a script manager.

Code

private function __construct() {
  $this->addthis = AddThis::getInstance();
  $this->async = $this->addthis
    ->getWidgetJsAsync();
  $this->domready = $this->addthis
    ->getWidgetJsDomReady();
}