cancel
Showing results for 
Search instead for 
Did you mean: 

Suggest to restore parameterless constructor _construct in the base class...

0 Kudos

Suggest to restore parameterless constructor _construct in the base class...

Feature request from mage2pro, posted on GitHub Oct 25, 2015

Varien_Object::_construct(): https://github.com/OpenMage/magento-mirror/blob/1.9.2.1/lib/Varien/Object.php#L154-L156

I see it is already restored (by duplication) in the base model, base block, base form and so on:

\Magento\Framework\Model\AbstractModel::_construct(): https://github.com/magento/magento2/blob/02e0378c33054acb0cdb8d731d1e2b2c2069bc1b/lib/internal/Magen...

\Magento\Framework\View\Element\AbstractBlock::_construct() https://github.com/magento/magento2/blob/02e0378c33054acb0cdb8d731d1e2b2c2069bc1b/lib/internal/Magen...

\Magento\Framework\Data\Form\AbstractForm::_construct() https://github.com/magento/magento2/blob/02e0378c33054acb0cdb8d731d1e2b2c2069bc1b/lib/internal/Magen...

Why does it absent in \Magento\Framework\DataObject?

1 Comment
apiuser
New Member

Comment from andimov, posted on GitHub Aug 16, 2016

@mage2pro Could you please add the description of steps, actual result and expected result to this ticket?