Jamm\Memory\Tests\CommandsListCheck::compareInterfaceAndJSON PHP Method

compareInterfaceAndJSON() public method

public compareInterfaceAndJSON ( $InterfaceClass, string $json = '' ) : MethodsComparisonResults
$InterfaceClass
$json string
return MethodsComparisonResults
    public function compareInterfaceAndJSON($InterfaceClass, $json = '')
    {
        $doc = $this->getDocFromJSON($json);
        $Methods = $this->getMethodsList($InterfaceClass);
        $DiffResult = $this->getDiff($doc, $Methods);
        return $DiffResult;
    }