Mcfedr\AwsPushBundle\Controller\ApiController
This should server as an example of how to use the services provided by this bundle.
In some simple cases it may be enough to use this controller.
Synopsis
class ApiController
extends JsonController
{
- // methods
- public void registerDeviceAction()
- public void broadcastAction()
Hierarchy
Violations
PHPMessDetector
Line | Rule | Message |
---|---|---|
31 - 87 | CyclomaticComplexity | The method registerDeviceAction() has a Cyclomatic Complexity of 10. The configured cyclomatic complexity threshold is 10. |
Checkstyle
Line | Column | Severity | Message |
---|---|---|---|
38 | 130 | warning | Line exceeds 120 characters; contains 129 characters |
50 | 152 | warning | Line exceeds 120 characters; contains 151 characters |
102 | 152 | warning | Line exceeds 120 characters; contains 151 characters |
Methods
History
-
2014-10-15T15:44:03+03:00 (commit #323b20a)
Author: Fred Cox (fred@ekreative.com) / Commiter: Fred Cox (fred@ekreative.com)
remove unused uses
-
2014-10-15T15:41:15+03:00 (commit #7d82f1c)
Author: Fred Cox (fred@ekreative.com) / Commiter: Fred Cox (fred@ekreative.com)
Add some unit tests for the controllers