public function getFolders() {

		$result = [];
		$files = glob($this->path . '*', GLOB_ONLYDIR);

		if($files) {
			foreach($files as $f) {
				$result[] = self::getInstance($f);
			}
		}

		return $result;

	}
public function getFolders() {

		$result = [];
		$files = glob($this->path . '*', GLOB_ONLYDIR);

		if($files) {
			foreach($files as $f) {
				$result[] = self::getInstance($f);
			}
		}

		return $result;

	}
public function getFolders ( ) { $ result = [ ] ; $ files = glob ( $ this -> path . '*' , GLOB_ONLYDIR ) ; if ( $ files ) { foreach ( $ files as $ f ) { $ result [ ] = self :: getInstance ( $ f ) ; } } return $ result ; }
returns all FilesystemFolder instances in folder

@return Array
returns all FilesystemFolder instances in folder