PHP code example of ralfmaxxx / behat_multidimensional_extension

1. Go to this page and download the library: Download ralfmaxxx/behat_multidimensional_extension 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/ */

    

ralfmaxxx / behat_multidimensional_extension example snippets


/**
 * @When i do something with article:
 */
public function iDoSomethingWithArticle(NestedTableNode $table)
{
    $table->getNestedHash();
}

/**
 * @When i do something with article:
 */
public function iDoSomethingWithArticle(TableNode $table)
{
    /**
    * @var NestedTableNode
    */
    $table->getNestedHash();
}