Social\Model\AddThis::getConfig PHP Method

getConfig() public method

Return configuration
public getConfig ( ) : array
return array
    public function getConfig()
    {
        return $this->config;
    }

Usage Example

Example #1
0
 /**
  * Constructor, prepare addthis widget and configuration
  */
 public function __construct()
 {
     $this->addthis = $this->getServiceLocator()->get('AddThisModel');
     $this->config = $this->addthis->getConfig();
 }