Skip to content

Commit f96c2c5

Browse files
committed
Add accidentally removed phpdoc
1 parent a6257d8 commit f96c2c5

File tree

5 files changed

+11
-2
lines changed

5 files changed

+11
-2
lines changed

framework/console/Controller.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@
2828
* where `<route>` is a route to a controller action and the params will be populated as properties of a command.
2929
* See [[options()]] for details.
3030
*
31-
* @property-read string $help
32-
* @property-read string $helpSummary
31+
* @property-read string $help The help information for this controller.
32+
* @property-read string $helpSummary The one-line short summary describing this controller.
3333
* @property-read array $passedOptionValues The properties corresponding to the passed options.
3434
* @property-read array $passedOptions The names of the options passed during execution.
3535
*

framework/web/Controller.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,10 @@
1717
*
1818
* For more details and usage information on Controller, see the [guide article on controllers](guide:structure-controllers).
1919
*
20+
* @property Request $request The request object.
21+
* @property Response $response The response object.
22+
* @property View $view The view object that can be used to render views or view files.
23+
*
2024
* @author Qiang Xue <[email protected]>
2125
* @since 2.0
2226
*/

framework/web/CookieCollection.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
* For more details and usage information on CookieCollection, see the [guide article on handling cookies](guide:runtime-sessions-cookies).
1919
*
2020
* @property-read int $count The number of cookies in the collection.
21+
* @property-read ArrayIterator $iterator An iterator for traversing the cookies in the collection.
2122
*
2223
* @author Qiang Xue <[email protected]>
2324
* @since 2.0

framework/web/HeaderCollection.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@
1212
/**
1313
* HeaderCollection is used by [[Response]] to maintain the currently registered HTTP headers.
1414
*
15+
* @property-read int $count The number of headers in the collection.
16+
* @property-read \ArrayIterator $iterator An iterator for traversing the headers in the collection.
17+
*
1518
* @author Qiang Xue <[email protected]>
1619
* @since 2.0
1720
*/

framework/web/Session.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@
5757
* @property bool $hasSessionId Whether the current request has sent the session ID.
5858
* @property string $id The current session ID.
5959
* @property-read bool $isActive Whether the session has started.
60+
* @property-read SessionIterator $iterator An iterator for traversing the session variables.
6061
* @property string $name The current session name.
6162
* @property string $savePath The current session save path, defaults to '/tmp'.
6263
* @property int $timeout The number of seconds after which data will be seen as 'garbage' and cleaned up. The

0 commit comments

Comments
 (0)