class Dictionary {
private $translations = array();
private $dictio;
private $type;
function __construct( $type, DictionaryIO $dictio ) {
$this->type = $type;
$this->dictio = $dictio;
}
// ...
}
$en = new Dictionary( "En", new DictionaryIO() );
$en->dictio = null;
i yukarıdaki kodu gibi bir şey gördüm. Birisi hat kodunun etkili bana söyleyebilir
$en = new Dictionary( "En", new DictionaryIO() );