for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Behatch\HttpCall;
class RestContextVoter implements ContextSupportedVoter, FilterableHttpCallResult
{
public function vote(HttpCallResult $httpCallResult)
return $httpCallResult->getValue() instanceof \Behat\Mink\Element\DocumentElement;
}
public function filter(HttpCallResult $httpCallResult)
return $httpCallResult->getValue()->getContent();