File tree Expand file tree Collapse file tree 1 file changed +1
-14
lines changed
lib/internal/Magento/Framework Expand file tree Collapse file tree 1 file changed +1
-14
lines changed Original file line number Diff line number Diff line change 5
5
*/
6
6
namespace Magento \Framework ;
7
7
8
- use Magento \Framework \ObjectManager \ResetAfterRequestInterface ;
9
-
10
8
/**
11
9
* Universal data container with array access implementation
12
10
*
15
13
* @since 100.0.2
16
14
*/
17
15
#[\AllowDynamicProperties] //@phpstan-ignore-line
18
- class DataObject implements \ArrayAccess, ResetAfterRequestInterface
16
+ class DataObject implements \ArrayAccess
19
17
{
20
18
/**
21
19
* Object attributes
@@ -569,15 +567,4 @@ function ($v) {
569
567
}
570
568
);
571
569
}
572
-
573
- /**
574
- * @inheritDoc
575
- */
576
- public function _resetState (): void
577
- {
578
- // @todo
579
- // if ("Magento\Framework\DataObject" !== get_class($this)) {
580
- // throw new \Exception('You should not create "' . get_class($this) . '"model"" with OM');
581
- // }
582
- }
583
570
}
You can’t perform that action at this time.
0 commit comments