public function setAllowedMimeTypes (...$allowedMimeTypes)
    {
    	if (is_array($allowedMimeTypes[0]))
        	$this->allowedMimeTypes 	= array_merge($this->allowedMimeTypes, $allowedMimeTypes[0]);
        else
        	$this->allowedMimeTypes 	= array_merge($this->allowedMimeTypes, $allowedMimeTypes);
    }
public function setAllowedMimeTypes (...$allowedMimeTypes)
    {
    	if (is_array($allowedMimeTypes[0]))
        	$this->allowedMimeTypes 	= array_merge($this->allowedMimeTypes, $allowedMimeTypes[0]);
        else
        	$this->allowedMimeTypes 	= array_merge($this->allowedMimeTypes, $allowedMimeTypes);
    }
public function setAllowedMimeTypes ( ... $ allowedMimeTypes ) { if ( is_array ( $ allowedMimeTypes [ 0 ] ) ) $ this -> allowedMimeTypes = array_merge ( $ this -> allowedMimeTypes , $ allowedMimeTypes [ 0 ] ) ; else $ this -> allowedMimeTypes = array_merge ( $ this -> allowedMimeTypes , $ allowedMimeTypes ) ; }
Set the allowed mime types.
@param array $allowedMimeTypes
Set the allowed mime types .