/** * Define the function to unfold the directory structure and perform * the unfold operation. * * @param \Closure $unfolder a -> File|FDirectory a -> a * @throws \LogicException When generated root node is a file. * @return null */ public function with(\Closure $unfolder) { $this->directory->insertByAna($unfolder, $this->start_value); }