PHP Service-pattern Resources