Skip to content

Commit 4ce0b32

Browse files
committed
Remove model properties from Controller
1 parent 5921aef commit 4ce0b32

File tree

1 file changed

+0
-20
lines changed

1 file changed

+0
-20
lines changed

src/Controller.php

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -34,26 +34,6 @@ abstract class Controller extends RouteActions
3434
* @var Response
3535
*/
3636
protected Response $response;
37-
/**
38-
* A Full Qualified Class Name of a model.
39-
*
40-
* If this property is set, the $model property will be set with a new
41-
* instance of this FQCN in the Controller constructor.
42-
*
43-
* @var class-string<ModelInterface>
44-
*
45-
* @deprecated
46-
*/
47-
protected string $modelClass;
48-
/**
49-
* The instance of the custom $model FQCN.
50-
*
51-
* Tip: Append the FQCN type to the declaration of this property to
52-
* enable an improved code-completion in your code editor.
53-
*
54-
* @var ModelInterface
55-
*/
56-
protected ModelInterface $model;
5737

5838
/**
5939
* Controller constructor.

0 commit comments

Comments
 (0)