public function saveRuntimeExpressions()
{
if ($this->newExpressions === []) {
return;
}
$codeToBeCached = 'return array (' . chr(10);
foreach ($this->newExpressions as $name => $function) {
$codeToBeCached .= "'" . $name . "' => " . $function . ',' . chr(10);
}
$codeToBeCached .= ');';
$this->runtimeExpressionsCache->set('Flow_Aop_RuntimeExpressions', $codeToBeCached);
}