Метод | Описание | |
---|---|---|
firstParameterType ( callable $callable ) : string | ||
itemMatchesType ( Spatie\Menu\Item $item, string $type ) : boolean |
public static firstParameterType ( callable $callable ) : string | ||
$callable | callable | |
Результат | string |
public static itemMatchesType ( Spatie\Menu\Item $item, string $type ) : boolean | ||
$item | Spatie\Menu\Item | |
$type | string | |
Результат | boolean |