jeudi 23 avril 2015

I'm new to OOP. I dont understand what does this do?

function printLine($line)
{
    return $this->formatter->printLine($line) ;
}

What does this line do? I don't understand at all

return $this->formatter->printLine($line)

Please help me. May be its a stupid doubt. Function returns something and is it something related to variable functions?

Aucun commentaire:

Enregistrer un commentaire