base.php 294 Bytes
Newer Older
1 2 3 4 5 6 7 8 9
<?php

class Base_Controller extends Controller {

	/**
	 * Catch-all method for requests that can't be matched.
	 *
	 * @param  string    $method
	 * @param  array     $parameters
10
	 * @return Response
11 12 13 14 15 16 17
	 */
	public function __call($method, $parameters)
	{
		return Response::error('404');
	}

}