Skip to content

Commit ef31716

Browse files
committed
removed magic properties except for $template & $payload (BC break)
1 parent 59eeaac commit ef31716

File tree

4 files changed

+0
-18
lines changed

4 files changed

+0
-18
lines changed

src/Application/Request.php

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,6 @@
1414

1515
/**
1616
* Presenter request.
17-
*
18-
* @property string $presenterName
19-
* @property array $parameters
20-
* @property array $post
21-
* @property array $files
22-
* @property string|null $method
2317
*/
2418
final class Request
2519
{

src/Application/UI/Component.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,6 @@
1818
* Components are persistent objects located on a presenter. They have ability to own
1919
* other child components, and interact with user. Components have properties
2020
* for storing their status, and responds to user command.
21-
*
22-
* @property-read Presenter $presenter
23-
* @property-read bool $linkCurrent
2421
*/
2522
abstract class Component extends Nette\ComponentModel\Container implements SignalReceiver, StatePersistent, \ArrayAccess
2623
{

src/Application/UI/ComponentReflection.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,6 @@
1414

1515
/**
1616
* Helpers for Presenter & Component.
17-
* @property-read string $name
18-
* @property-read string $fileName
1917
* @internal
2018
*/
2119
final class ComponentReflection extends \ReflectionClass

src/Application/UI/Presenter.php

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -19,14 +19,7 @@
1919

2020
/**
2121
* Presenter component represents a webpage instance. It converts Request to Response.
22-
*
23-
* @property-read Nette\Application\Request $request
24-
* @property-read string $action
25-
* @property string $view
26-
* @property string|bool $layout
2722
* @property-read \stdClass $payload
28-
* @property-read Nette\Http\Session $session
29-
* @property-read Nette\Security\User $user
3023
*/
3124
abstract class Presenter extends Control implements Application\IPresenter
3225
{

0 commit comments

Comments
 (0)