protected function getAllLanguagesFromTable(): void
    {
    	foreach($this->translations  as $entry){
    		if(!in_array($entry->language, $this->languages)){
    			array_push($this->languages, $entry->language);
		    }
	    }
	    $this->compareLanguages();
    }
protected function getAllLanguagesFromTable(): void
    {
    	foreach($this->translations  as $entry){
    		if(!in_array($entry->language, $this->languages)){
    			array_push($this->languages, $entry->language);
		    }
	    }
	    $this->compareLanguages();
    }
protected function getAllLanguagesFromTable ( ) : void { foreach ( $ this -> translations as $ entry ) { if ( ! in_array ( $ entry -> language , $ this -> languages ) ) { array_push ( $ this -> languages , $ entry -> language ) ; } } $ this -> compareLanguages ( ) ; }
Collects all languages from the Database

@return void
Collects all languages from the Database