/** * Returns amount of all files within this folder, optionally filtered by * the given pattern * * @param array $filterMethods * @param bool $recursive * @return int */ public function getFileCount(array $filterMethods = array(), $recursive = FALSE) { return $this->storage->countFilesInFolder($this, TRUE, $recursive); }
/** * Returns amount of all files within this folder, optionally filtered by * the given pattern * * @param array $filterMethods * @param bool $recursive * @return int * @throws Exception\InsufficientFolderAccessPermissionsException */ public function getFileCount(array $filterMethods = array(), $recursive = false) { return $this->storage->countFilesInFolder($this, true, $recursive); }