fix namespace ref

pull/226/head
Yuri Tkachenko 9 years ago
parent 561542f068
commit d191ca821e

@ -17,12 +17,11 @@
* *
* Routing. * Routing.
* @method static void route($pattern, $callback) Maps a URL pattern to a callback. * @method static void route($pattern, $callback) Maps a URL pattern to a callback.
* @method static flight\net\Router router() Returns Router instance. * @method static \flight\net\Router router() Returns Router instance.
* *
* Extending & Overriding. * Extending & Overriding.
* @method static void map($name, $callback) Creates a custom framework method. * @method static void map($name, $callback) Creates a custom framework method.
* @method static void register($name, $class, array $params = array(), $callback = null) Registers a class to a * @method static void register($name, $class, array $params = array(), $callback = null) Registers a class to a framework method.
* framework method.
* *
* Filtering. * Filtering.
* @method static void before($name, $callback) Adds a filter before a framework method. * @method static void before($name, $callback) Adds a filter before a framework method.
@ -36,11 +35,11 @@
* *
* Views. * Views.
* @method static void render($file, array $data = null, $key = null) Renders a template file. * @method static void render($file, array $data = null, $key = null) Renders a template file.
* @method static flight\template\View view() Returns View instance. * @method static \flight\template\View view() Returns View instance.
* *
* Request & Response. * Request & Response.
* @method static flight\net\Request request() Returns Request instance. * @method static \flight\net\Request request() Returns Request instance.
* @method static flight\net\Response response() Returns Request instance. * @method static \flight\net\Response response() Returns Request instance.
* @method static void redirect($url, $code = 303) Redirects to another URL. * @method static void redirect($url, $code = 303) Redirects to another URL.
* @method static void json($data, $code = 200, $encode = true) Sends a JSON response. * @method static void json($data, $code = 200, $encode = true) Sends a JSON response.
* @method static void jsonp($data, $param = 'jsonp', $code = 200, $encode = true) Sends a JSONP response. * @method static void jsonp($data, $param = 'jsonp', $code = 200, $encode = true) Sends a JSONP response.

Loading…
Cancel
Save