Typescript Get Array Of Object Php