https://mamchenkov.net/wordpress/2017/05/23/php-moving-from-array-to-class/
PHP : Moving from array to class