public function getFlatListOfExtensions()
	{
		if (!isset($this->flatExtentions))
		{
			$this->flatExtentions = [];

			foreach ($this->getFlatListOfFiles() as $file)
			{
				$this->flatExtentions[] = $file->getExtension();
			}

			$this->flatExtentions = array_count_values($this->flatExtentions);
		}

		return $this->flatExtentions;
	}
public function getFlatListOfExtensions()
	{
		if (!isset($this->flatExtentions))
		{
			$this->flatExtentions = [];

			foreach ($this->getFlatListOfFiles() as $file)
			{
				$this->flatExtentions[] = $file->getExtension();
			}

			$this->flatExtentions = array_count_values($this->flatExtentions);
		}

		return $this->flatExtentions;
	}
public function getFlatListOfExtensions ( ) { if ( ! isset ( $ this -> flatExtentions ) ) { $ this -> flatExtentions = [ ] ; foreach ( $ this -> getFlatListOfFiles ( ) as $ file ) { $ this -> flatExtentions [ ] = $ file -> getExtension ( ) ; } $ this -> flatExtentions = array_count_values ( $ this -> flatExtentions ) ; } return $ this -> flatExtentions ; }
Builds a flat list of extensions based on files list

@return  array
Builds a flat list of extensions based on files list