lib/Assertion/AssertionProcessor.php
public function assertionsFromRawCliConfig(array $rawAssertions)
    {
        $assertions = [];

        foreach ($rawAssertions as $rawAssertion) {
            $config = $this->jsonDecoder->decode($rawAssertion);
            $assertions[] = new AssertionMetadata($config);
        }

        return $assertions;
    }
public function assertionsFromRawCliConfig(array $rawAssertions)
    {
        $assertions = [];

        foreach ($rawAssertions as $rawAssertion) {
            $config = $this->jsonDecoder->decode($rawAssertion);
            $assertions[] = new AssertionMetadata($config);
        }

        return $assertions;
    }
public function assertionsFromRawCliConfig ( array $ rawAssertions ) { $ assertions = [ ] ; foreach ( $ rawAssertions as $ rawAssertion ) { $ config = $ this -> jsonDecoder -> decode ( $ rawAssertion ) ; $ assertions [ ] = new AssertionMetadata ( $ config ) ; } return $ assertions ; }
Return an array of assertion metadatas from the raw JSON-like stuff from the CLI.
Return an array of assertion metadatas from the raw JSON - like stuff from the CLI .