Diziye PHP alıcı / ayarlayıcı

0 Cevap php

"Sorun" ardından

Propertys bir sürü PHP Class. Alıcılar / Setter bir sürü.

Bir dizinin tüm propertys dönüştürmek için herhangi güzel bir çözüm var mı?

protected $name;
protected $date;

public function getName();
public function getDate();
public function asArray(); // call all getters?

0 Cevap