src/OAuth.php
public function addScope($scope)
  {
      if (!is_array($scope)) {
          $scope = explode(' ', $scope);
      }

      $this->scopes = array_unique(array_merge($this->scopes, $scope));

      return $this;
  }
public function addScope($scope)
  {
      if (!is_array($scope)) {
          $scope = explode(' ', $scope);
      }

      $this->scopes = array_unique(array_merge($this->scopes, $scope));

      return $this;
  }
public function addScope ( $ scope ) { if ( ! is_array ( $ scope ) ) { $ scope = explode ( ' ' , $ scope ) ; } $ this -> scopes = array_unique ( array_merge ( $ this -> scopes , $ scope ) ) ; return $ this ; }
Adds a scope.

@param string $scope https://github.com/justintv/Twitch-API/blob/master/authentication.md#scopes
Adds a scope .