PHP code example of mage-os / module-worker-mode-hyva

1. Go to this page and download the library: Download mage-os/module-worker-mode-hyva library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

mage-os / module-worker-mode-hyva example snippets


public function _resetState(): void
{
    // nullifies $memoizedPolicies and $memoizedAreaCode on the parent via reflection
}