Tests an array of feature identifiers, stopping and returnig the first that tests true.
public static getFirstAvailable ( array $featureIDs = [] ) : string | ||
$featureIDs | array | Array of feature ID strings. If associative, the value is the ID, and the key is returned. |
Результат | string | Returns the first feature ID that tests true. |