private function replaceExecutableCode($files)
    {
        return $files->map(function ($item) {
            return collect($item)
                ->map(function ($value) {
                    return (new Resolver())->recursivelyFindAndReplaceExecutableCode(
                        $value
                    );
                })
                ->all();
        });
    }
private function replaceExecutableCode($files)
    {
        return $files->map(function ($item) {
            return collect($item)
                ->map(function ($value) {
                    return (new Resolver())->recursivelyFindAndReplaceExecutableCode(
                        $value
                    );
                })
                ->all();
        });
    }
private function replaceExecutableCode ( $ files ) { return $ files -> map ( function ( $ item ) { return collect ( $ item ) -> map ( function ( $ value ) { return ( new Resolver ( ) ) -> recursivelyFindAndReplaceExecutableCode ( $ value ) ; } ) -> all ( ) ; } ) ; }
Replace executable code.

@return \Illuminate\Support\Collection
Replace executable code .