https://medium.com/@KurodaSensei/simplifica-la-creaci%C3%B3n-de-objetos-en-php-con-el-patr%C3%B3n-factory-53c6b7f28ddb