EOAuth2Service::init PHP Метод

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

public init ( $component, $options = [] )
    public function init($component, $options = array())
    {
        parent::init($component, $options);
        // Try to restore access token from session.
        $this->restoreAccessToken();
    }

Usage Example

Пример #1
0
 public function init($component, $options = array())
 {
     parent::init($component, $options);
     $this->getConf();
 }