/**
* Create folder
*
* @param string $name
* @return void
* @throws InvalidArgumentException
*/
public function createFolder($name)
{
try {
$this->storage->createDir($name);
} catch (\InvalidArgumentException $e) {
throw new \InvalidArgumentException(sprintf('A file or folder having the name %s already exists', $name), $e->getCode(), $e);
}
}