How to overcome this ? This is my class path: app/code/vendor/module/Block/Catalog/Product/List/Toolbar.php
namespace vendor\module\Block\Catalog\Product\List;
class Toolbar
{...}
How to overcome this ? This is my class path: app/code/vendor/module/Block/Catalog/Product/List/Toolbar.php
in my Toolbar.php
namespace vendor\module\Block\Catalog\Product\List;
class Toolbar {...} Since the namespace cannot end with a reserved keyword "List", im unabel to use it that way. It throws : syntax error, unexpected 'List' (T_LIST), expecting identifier (T_STRING)
How to use that the same in Magento 2