PHP Dto-pattern Resources