public function setScope($scope)
    {
        if (!is_array($scope)) {
            $this->_scope = explode(',', $scope);
        } else {
            $this->_scope = $scope;
        }

        return $this;
    }
public function setScope($scope)
    {
        if (!is_array($scope)) {
            $this->_scope = explode(',', $scope);
        } else {
            $this->_scope = $scope;
        }

        return $this;
    }
public function setScope ( $ scope ) { if ( ! is_array ( $ scope ) ) { $ this -> _scope = explode ( ',' , $ scope ) ; } else { $ this -> _scope = $ scope ; } return $ this ; }
Set OAuth2 scope

@param array|string $scope

@return $this
Set OAuth2 scope