Skip to content

Commit

Permalink
removed magic properties except for $template & $payload (BC break)
Browse files Browse the repository at this point in the history
  • Loading branch information
dg committed Oct 6, 2021
1 parent 8484272 commit cb29fc4
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 18 deletions.
6 changes: 0 additions & 6 deletions src/Application/Request.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,6 @@

/**
* Presenter request.
*
* @property string $presenterName
* @property array $parameters
* @property array $post
* @property array $files
* @property string|null $method
*/
final class Request
{
Expand Down
3 changes: 0 additions & 3 deletions src/Application/UI/Component.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,6 @@
* Components are persistent objects located on a presenter. They have ability to own
* other child components, and interact with user. Components have properties
* for storing their status, and responds to user command.
*
* @property-read Presenter $presenter
* @property-read bool $linkCurrent
*/
abstract class Component extends Nette\ComponentModel\Container implements SignalReceiver, StatePersistent, \ArrayAccess
{
Expand Down
2 changes: 0 additions & 2 deletions src/Application/UI/ComponentReflection.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@

/**
* Helpers for Presenter & Component.
* @property-read string $name
* @property-read string $fileName
* @internal
*/
final class ComponentReflection extends \ReflectionClass
Expand Down
7 changes: 0 additions & 7 deletions src/Application/UI/Presenter.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,7 @@

/**
* Presenter component represents a webpage instance. It converts Request to Response.
*
* @property-read Nette\Application\Request $request
* @property-read string $action
* @property string $view
* @property string|bool $layout
* @property-read \stdClass $payload
* @property-read Nette\Http\Session $session
* @property-read Nette\Security\User $user
*/
abstract class Presenter extends Control implements Application\IPresenter
{
Expand Down

0 comments on commit cb29fc4

Please sign in to comment.