AbstractController
abstract class AbstractController extends AbstractFrontControllerAware
Any package or custom controller must extend this basic class
It defines the global FrontController
you can access in any controller's method
with $this->kernel
or $this->getFrontController()
.
The magic constructor of this mother class will call any init()
protected method defined
in the children. You can use this method as a children constructor.
You can define an object $usage_filepath
variable on the absolute path of a usage info
to be displayed using the action=usage
call.
Properties
null|string | $usage_filepath | Path of a file containing the "usage" info of the webservice controller |