<commit_before><?php

class PhoneNumberController extends \BaseController {

	/**
	 * Display a listing of the resource.
	 *
	 * @return Response
	 */
	public function getIndex()
	{
        $phone_number = PhoneNumber::where('user_id',Auth::user()->id)->get();

        return View::make('phone_number.index')->with('phone_numbers', $phone_number);
	}


	/**
	 * Show the form for creating a new resource.
	 *
	 * @return Response
	 */
	public function getAdd()
	{
        return View::make('phone_number.create');
	}


	/**
	 * Store a newly created resource in storage.
	 *
	 * @return Response
	 */<commit_msg>check auth<commit_after><?php

class PhoneNumberController extends \BaseController {

    /**
     * Instantiate a new DomainController instance.
     */
    public function __construct() {

        $this->beforeFilter('auth');
//        $this->beforeFilter('auth.admin');

    }

	/**
	 * Display a listing of the resource.
	 *
	 * @return Response
	 */
	public function getIndex()
	{
        $phone_number = PhoneNumber::where('user_id',Auth::user()->id)->get();

        return View::make('phone_number.index')->with('phone_numbers', $phone_number);
	}


	/**
	 * Show the form for creating a new resource.
	 *
	 * @return Response
	 */
	public function getAdd()
	{
        return View::make('phone_number.create');
	}


	/**
	 * Store a newly created resource in storage.
	 *
	 * @return Response
	 */
{'fraction_non_alphanumeric': 0.1466854724964739, 'fraction_numerical': 0.0, 'mean_word_length': 3.0084745762711864, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 11, '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': '2353840', 'n_tokens_mistral': 442, 'n_tokens_neox': 400, 'n_words': 101}