private function getCollection(string $type, string $locale = null): FileCollection
	{
		if (!isset($this->files[$type][$locale])) {
			$this->files[$type][$locale] = new FileCollection($this->root);
		}
		return $this->files[$type][$locale];
	}
private function getCollection(string $type, string $locale = null): FileCollection
	{
		if (!isset($this->files[$type][$locale])) {
			$this->files[$type][$locale] = new FileCollection($this->root);
		}
		return $this->files[$type][$locale];
	}
private function getCollection ( string $ type , string $ locale = null ) : FileCollection { if ( ! isset ( $ this -> files [ $ type ] [ $ locale ] ) ) { $ this -> files [ $ type ] [ $ locale ] = new FileCollection ( $ this -> root ) ; } return $ this -> files [ $ type ] [ $ locale ] ; }
Vrati kolekci souboru
@param string $type
@param string $locale
@return FileCollection
Vrati kolekci souboru