n0nag0n
df90d69787
so many phpcs fixes. No more, no more!
1 year ago
n0nag0n
ff6fa74d51
Merge branch 'master' into easier-access-to-request-headers
1 year ago
n0nag0n
537ea032d8
request header shortcut and lots of unit test fixes for phpcs
1 year ago
fadrian06
f8a3b841cf
Flight and Engine docblocks refactored
1 year ago
fadrian06
84877b34f4
Merge pull request #530 from flightphp/async-related
...
added some methods to help with async frameworks
1 year ago
fadrian06
eba7e7e7ce
Parameters renamed to simplify docblock
1 year ago
fadrian06
44a056ca30
Fixed phpcs format problems in the rest of Flight modules
1 year ago
Austin Collier
c6754dfe59
added some methods to help with async frameworks
1 year ago
Austin Collier
cc4338a34b
added PSR12 coding style to files.
1 year ago
n0nag0n
1e4c07da52
correct unit test and removed final keywords
1 year ago
n0nag0n
83d33348e0
old array syntax cleanup and legacy json serializable removal
1 year ago
n0nag0n
c98d6ce7d4
Lots of tweaks for middleware. Cleaned up old code.
1 year ago
Austin Collier
f543d74bfe
Middleware code
1 year ago
Austin Collier
74d2fd7002
Fixes for group routing
1 year ago
n0nag0n
fd4ce43c44
added route alias to engine/flight
1 year ago
Austin Collier
65b3d5445f
Lots more unit testing for group based routing
1 year ago
Austin Collier
12073629cc
added ability to group routes together
1 year ago
n0nag0n
978a05d765
Flight class 100% coverage (too easy!)
1 year ago
fadrian06
42ec161d8a
Added code format
1 year ago
fadrian06
fbcc9108c2
DocBlocks improved
1 year ago
Masroor Ehsan
04e471bf46
PHP ^7.4|^8.0 compatibility
4 years ago
Alex Shadie
d3067e5eae
Some improvements for PHPdoc
7 years ago
Uriy Efremochkin
4841466656
Fix for Doc
7 years ago
Mike Cao
b30d5e5fa2
Moved map method check to Engine. Added get method to Loader. Added new tests.
8 years ago
Shane Armstrong
a9ced778ee
#203 - Executing an unmapped method within the engine dispatcher now throws an Exception, clarified the return class of Flight::app()
8 years ago
Shane Armstrong
b7b929bf99
#290 - JSON methods now support encode option/depth, added missing arguments to json/jsonp method documentation, _json/_jsonp methods now list arguments on individual lines to remain PSR-2 compliant
8 years ago
Yuri Tkachenko
d191ca821e
fix namespace ref
9 years ago
Yuri Tkachenko
561542f068
Redirects > Request & Response
9 years ago
Yuri Tkachenko
6242b54edb
added request(), response(), router(), view() @method reference to
...
Flight PHPDoc section. Also did some rearrangement of methods in
documentation.
9 years ago
Mike Cao
486ec7c689
Application now initialized in Flight::app() instead of __callStatic.
9 years ago
Yuriy Tkachenko
b187f3564f
Correct PHPDoc for phpStorm
...
make phpStorm correctly identify has and get functions
10 years ago
Alexander
c4ab005462
Added list of methods for autocomplete
...
Added list of available methods to the PHPDoc section of `Flight` class. Inspired by suggestion: http://stackoverflow.com/a/26628288/1363799
10 years ago
Mike Cao
b10b294d83
Added method to get the application object instance.
11 years ago
Mike Cao
2050027db6
Cleaned up initialization process.
12 years ago
Mike Cao
84078158c3
Introduced new Engine class.
...
Core functionality has been moved to a namespaced Engine class. The
existing Flight class is now just a static pass-through to the Engine class.
Also fixed autoloading and initialization issues.
12 years ago
Mike Cao
28ae5e0aec
Added route passing functionality.
12 years ago
Mike Cao
f2bd6f4e02
Allow framework to be reinitialized
12 years ago
Mike Cao
cec890c585
Code cleanup
12 years ago
Mike Cao
6bf1ac54b1
Only raise errors from error_reporting()
12 years ago
Mike Cao
1d84913d7f
Removed error filtering and fixed notice errors.
12 years ago
Mike Cao
9a115b84ab
JSON method should use existing response
12 years ago
Mike Cao
fc10a50ca3
Fixed redirect problem when running in a subfolder
13 years ago
Mike Cao
830088733d
Fixed PHP notices
13 years ago
Mike Cao
8783134495
Changed variable set method. Fixed error logging.
13 years ago
Mike Cao
b70f831c0e
Added new Collection class, updated documentation
13 years ago
Mike Cao
5d789ceb2e
More refactoring, updated documenation
13 years ago
Mike Cao
e2f1dc99bb
Major refactoring, implemented namespaces
13 years ago
Mike Cao
8af17f2215
Changed render method for views and layouts.
...
The previous render method allowed you to render a template
directly into a layout. This however only allowed one template
to be used per layout. The new method instead stores the template
results as a view variable, which the layout can reference.
Also expanded documentation on views.
Added a has() method to the view to check if a variable is set.
13 years ago
Mike Cao
d5c696a969
Changed render method to take a layout parameter.
14 years ago
Mike Cao
4b682b67c0
Code cleanup
14 years ago