public function processCodeInjection(array $entries)
{
$codes = array();
$includes = array();
if (isset($entries['request'])) {
foreach ($entries['request'] as $entry) {
$codes[] = $entry['code'] . ';';
$includes[] = "#include \"" . $entry['include'] . "\"";
}
}
return array(join(PHP_EOL, $includes), join("\n\t", $codes));
}