PSR4 and improve complexity of get method