public __construct ( Magento\Config\Model\Config\Source\Yesno $booleanSource, Magento\CatalogSearch\Model\Source\Weight $weightSource, Magento\Framework\Registry $registry ) | ||
$booleanSource | Magento\Config\Model\Config\Source\Yesno | The YesNo source. |
$weightSource | Magento\CatalogSearch\Model\Source\Weight | Weight source. |
$registry | Magento\Framework\Registry | Core registry. |
public function __construct(Yesno $booleanSource, Weight $weightSource, Registry $registry)
{
$this->weightSource = $weightSource;
$this->booleanSource = $booleanSource;
$this->coreRegistry = $registry;
}