If $type is given then only return the snippets of that type.
public getSnippetsAmount ( string $locale, string $type = null, string $search = null, string $sortBy = null, string $sortOrder = null ) : |
||
$locale | string | |
$type | string | Optional snippet type |
$search | string | |
$sortBy | string | |
$sortOrder | string | |
return |