src/PutIO/Engines/PutIO/FilesEngine.php
public function makeDir($name, $parentID = 0)
    {
        $data = [
            'name'      => $name,
            'parent_id' => $parentID
        ];

        return $this->post('files/create-folder', $data, \false, 'file');
    }
public function makeDir($name, $parentID = 0)
    {
        $data = [
            'name'      => $name,
            'parent_id' => $parentID
        ];

        return $this->post('files/create-folder', $data, \false, 'file');
    }
public function makeDir ( $ name , $ parentID = 0 ) { $ data = [ 'name' => $ name , 'parent_id' => $ parentID ] ; return $ this -> post ( 'files/create-folder' , $ data , \ false , 'file' ) ; }
Creates a new folder. Returns folder info on success, false on error.

@param string  $name        Name of the new folder.
@param integer $parentID    ID of the parent folder.
@return mixed
Creates a new folder . Returns folder info on success false on error .