Listing 13.18. Metoda __toString() klasy producent wygenerowanej przez Doctrine
public function __toString()
{
    return $this['nazwa'];
}
