Since there is a mixed type, when you use developer mode Magento doesn't generates Interceptors for a block :
and you could see an error :
2 exception(s):
Exception #0 (Magento\Framework\Exception\LocalizedException): Invalid block type: ADM\QuickDevBar\Block\Tab\Wrapper
Exception #1 (ReflectionException): Class "ADM\QuickDevBar\Block\Tab\Wrapper\Interceptor" does not exist
Exception #0 (Magento\Framework\Exception\LocalizedException): Invalid block type: ADM\QuickDevBar\Block\Tab\Wrapper
<pre>#1 Magento\Framework\View\Layout\Generator\Block->createBlock() called at [vendor/magento/framework/View/Layout/Generator/Block.php:229]
#2 Magento\Framework\View\Layout\Generator\Block->generateBlock() called at [vendor/magento/framework/View/Layout/Generator/Block.php:134]
which requires extra setup:di:compile and only after that it works fine.
So, could you please accept this merge request and improve - supporting for other Magento versions?
Since there is a mixed type, when you use developer mode Magento doesn't generates Interceptors for a block :
and you could see an error :
which requires extra setup:di:compile and only after that it works fine. So, could you please accept this merge request and improve - supporting for other Magento versions?