I want to pass object as a argument from phtml file how can I do this? As I've checked we can pass string using
$block->setData('var','test') but didn't found for object.
Magento Stack Exchange is a question and answer site for users of the Magento e-Commerce platform. It only takes a minute to sign up.Sign up to join this community