Lavary\Menu\Builder::extractAttributes PHP Метод

extractAttributes() публичный Метод

Get the valid attributes from the options.
public extractAttributes ( array $options = [] ) : array
$options array
Результат array
    public function extractAttributes($options = array())
    {
        if (!is_array($options)) {
            $options = array();
        }
        if (count($this->groupStack) > 0) {
            $options = $this->mergeWithLastGroup($options);
        }
        return array_except($options, $this->reserved);
    }