PluginProbe
FluentCart A New Era of eCommerce – Faster, Lighter, and Simpler / 1.6.5
FluentCart A New Era of eCommerce – Faster, Lighter, and Simpler v1.6.5
1.6.5 1.6.4 1.6.3 1.6.2 1.6.1 1.6.0 1.5.4 1.5.5 1.5.3 1.5.2 1.5.1 1.5.0 1.4.2 1.4.1 1.4.0 1.3.28 1.3.27 1.3.26 1.3.25 1.3.23 1.3.22 1.3.21 1.3.20 1.3.19 trunk All 48 releases
← All changes | vendor/wpfluent/framework/src/WPFluent/Http/Controller.php +11 -0 1.3.19 → 1.6.5 View file →
@@ -6,8 +6,19 @@
6 6 use ReflectionException;
7 7 use FluentCart\Framework\Foundation\App;
8 8 use FluentCart\Framework\Validator\ValidationException;
9 9
10 +/**
11 + * Base controller — exposes the Application, Request, and Response
12 + * via protected properties. The `@property` annotations below are
13 + * intentional in addition to the protected declarations: they help
14 + * PHPStan disambiguate when a subclass declares a method with the
15 + * same name as one of these properties (e.g., `function app()`).
16 + *
17 + * @property \FluentCart\Framework\Foundation\Application $app
18 + * @property \FluentCart\Framework\Http\Request\Request $request
19 + * @property \FluentCart\Framework\Http\Response\Response $response
20 + */
10 21 abstract class Controller
11 22 {
12 23 /**
13 24 * Application Instance