Editing Edit the page and then click Save. Help, PLAYGROUND Media Files FIXME **This page is not fully translated yet. Please help to complete the translation..**\\ //(Remove this paragraph once the translation is finished)// == Vida de Programador 2128 == **Encapsulamento** {cnav} {{2128.png}} <!--Alonso: Cara, você pode criar uma função "calculaImpostos", que vai receber o valor e devolver ele com os impostos? Programador: Ué, mas isso não é o que você tem que fazer?? Alonso: Não, eu fiz a função "impostos", que vai encapsular essa sua... Programador: Ahn?? Deixa eu ver o que você já implementou... Código: function impostos($valor) { return calculaImpostos($valor); } Programador: PLOFT! -- Camiseta: Isso acontece quando o Alonso aprende uma palavra nova--> {{tag>tirinha alonso encapsulamento}} Continue editing after saving Name of this site, english, lowcase only Please keep this field empty: Save Preview Cancel Edit summary Note: By editing this page you agree to license your content under the following license: CC Attribution-Noncommercial-Share Alike 4.0 International