Codeception\Specify::getSpecifyExamples PHP Method

getSpecifyExamples() private method

private getSpecifyExamples ( $params ) : array
$params
return array
    private function getSpecifyExamples($params)
    {
        if (isset($params['examples'])) {
            if (!is_array($params['examples'])) {
                throw new \RuntimeException("Examples should be an array");
            }
            return $params['examples'];
        }
        return [[]];
    }