In my plugin, I would like to search a folder. However, I cannot find any information about the criteria for folders. Are there any documentation or something?
$n = Craft::$app->assets->findFolder(array( 'name' => $folder, 'parent' => $p_folder ));
My code is like this. Folder name is not unique, so I have to also use its parent. However, I do not know how to include parent folder in the criteria. "Parent" is not correct.