PHP class private variable set from different (included) file
Set them in the construct method __construct()
, like this:
private $languages;private $special;public function __construct(){ $this->languages = $generated['languages']; $this->special = $generated['special'];}