src/OAuth.php
public function setScope($scope)
  {
      if (!is_array($scope)) {
          $this->scopes = explode(' ', $scope);
      } else {
          $this->scopes = $scope;
      }

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

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

@param string or array $scope Space seperated string or array
Sets the scope .