private function checkSchemaFile($filename) { if (false === is_file($filename)) { throw new \RuntimeException('The JSON schema doesn\'t exist'); } }