Php Loop Through Array Of Arrays Typescript Enum Definition