. */ class AudioCache { private static $_movieCache = []; public static function get(string $filename):FFmpegMovie { if (isset(self::$_movieCache[$filename])) { return self::$_movieCache[$filename]; } return self::$_movieCache[$filename] = new FFmpegMovie($filename); } }