symfony/DomCrawler — pull request #17 by fejese (2014-03-21 17:14:37+00:00)
Title: Adding node name getter with tests

Based on the use case came up in a SO question (http://stackoverflow.com/questions/22564465/getting-the-tag-name-of-a-element-crawled-with-domcrawler-in-php) I propose a new helper function to get the name of the active node