public function thereArePosts(TableNode $posts)
    {
        foreach ($posts->getHash() as $post) {
            $this->createContent($this->parseArgs($post));
        }
    }
public function thereArePosts(TableNode $posts)
    {
        foreach ($posts->getHash() as $post) {
            $this->createContent($this->parseArgs($post));
        }
    }
public function thereArePosts ( TableNode $ posts ) { foreach ( $ posts -> getHash ( ) as $ post ) { $ this -> createContent ( $ this -> parseArgs ( $ post ) ) ; } }
Create content of the given type.

Example: Given there are posts:
| post_type | post_title | post_content | post_status |
| page      | Test Post   | Hello World  | publish     |

@Given /^(?:there are|there is a) posts?:/

@param TableNode $posts
Create content of the given type .