src/Services/PluginManager.php
private function saveArray($file, $array)
    {
        if (file_put_contents($file, '<?php return ' . var_export($array, true) . ';' . PHP_EOL, LOCK_EX) === false) {
            throw new RuntimeException('Plugin Manager is not able to save ' . $file . '.'); // @codeCoverageIgnore
        }
    }
private function saveArray($file, $array)
    {
        if (file_put_contents($file, '<?php return ' . var_export($array, true) . ';' . PHP_EOL, LOCK_EX) === false) {
            throw new RuntimeException('Plugin Manager is not able to save ' . $file . '.'); // @codeCoverageIgnore
        }
    }
private function saveArray ( $ file , $ array ) { if ( file_put_contents ( $ file , '<?php return ' . var_export ( $ array , true ) . ';' . PHP_EOL , LOCK_EX ) === false ) { throw new RuntimeException ( 'Plugin Manager is not able to save ' . $ file . '.' ) ; // @codeCoverageIgnore } }
Save array as an include file.

@param string $file
@param array $array
Save array as an include file .