<commit_before><?php
/*
 * User: tappleby
 * Date: 2013-05-11
 * Time: 11:26 PM
 */

namespace Tappleby\AuthToken;

use Illuminate\Http\Response;
use Illuminate\Routing\Controllers\Controller;
use Tappleby\AuthToken\Exceptions\NotAuthorizedException;

class AuthTokenController extends Controller {

  /**
   * @var \Tappleby\AuthToken\AuthTokenDriver
   */
  protected $driver;

  function __construct(AuthTokenDriver $driver)
  {
    $this->driver = $driver;
  }

  protected function getAuthToken() {

	  $token = \Request::header('X-Auth-Token');

	  if(empty($token)) {
		  $token = \Input::get('auth_token');
	  }

	  return $token;
  }<commit_msg>larval base controller changed locations, update the use statement<commit_after><?php
/*
 * User: tappleby
 * Date: 2013-05-11
 * Time: 11:26 PM
 */

namespace Tappleby\AuthToken;

use Illuminate\Routing\Controller;
use Tappleby\AuthToken\Exceptions\NotAuthorizedException;

class AuthTokenController extends Controller {

  /**
   * @var \Tappleby\AuthToken\AuthTokenDriver
   */
  protected $driver;

  function __construct(AuthTokenDriver $driver)
  {
    $this->driver = $driver;
  }

  protected function getAuthToken() {

	  $token = \Request::header('X-Auth-Token');

	  if(empty($token)) {
		  $token = \Input::get('auth_token');
	  }

	  return $token;
  }
{'fraction_non_alphanumeric': 0.13419257012888552, 'fraction_numerical': 0.01819560272934041, 'mean_word_length': 3.925373134328358, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4221330', 'n_tokens_mistral': 460, 'n_tokens_neox': 427, 'n_words': 84}