Skip to content

Commit 65d8a3a

Browse files
committed
component/model 4 WIP
1 parent 662bb78 commit 65d8a3a

File tree

3 files changed

+4
-0
lines changed

3 files changed

+4
-0
lines changed

composer.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
}
1616
],
1717
"require": {
18+
"nette/component-model": "^4.0",
1819
"php": "8.2 - 8.5",
1920
"nette/component-model": "^3.2",
2021
"nette/http": "^3.3.4",

src/Forms/Container.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
*/
2626
class Container extends Nette\ComponentModel\Container implements \ArrayAccess
2727
{
28+
use Nette\SmartObject;
2829
use Nette\ComponentModel\ArrayAccess;
2930

3031
public const Array = 'array';

src/Forms/Controls/BaseControl.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,8 @@
4040
*/
4141
abstract class BaseControl extends Nette\ComponentModel\Component implements Control
4242
{
43+
use Nette\SmartObject;
44+
4345
public static string $idMask = 'frm-%s';
4446

4547
protected mixed $value = null;

0 commit comments

Comments
 (0)