src/TableParser/CSVTable.php
public static function fromMinkResponse(\Behat\Mink\Session $session)
    {
        return self::newInstance()->makeMinkResponseCSVTableParser()->parse($session);
    }
public static function fromMinkResponse(\Behat\Mink\Session $session)
    {
        return self::newInstance()->makeMinkResponseCSVTableParser()->parse($session);
    }
Parse CSV from the HTTP response received by Mink on the most recent request

@param \Behat\Mink\Session $session

@return \Behat\Gherkin\Node\TableNode
@throws \Behat\Mink\Exception\ExpectationException if the Content-Type is not expected
@throws \Behat\Mink\Exception\ResponseTextException if the response text looks like HTML
@throws \InvalidArgumentException