Devise\Pages\Interpreter\DeviseTag::extractParametersForCollection PHP Method

extractParametersForCollection() protected method

Extracts out parameters for collection. They are different because collections have a collection name in the place where a group name should be. So this throws everything off by one
protected extractParametersForCollection ( string $key, array $params ) : void
$key string
$params array
return void
    protected function extractParametersForCollection($key, $params)
    {
        $this->collectionName = isset($params[3]) && $params[3] !== 'null' && $params[3] ? $params[3] : $this->humanize($this->collection);
        $this->group = isset($params[4]) && $params[4] !== 'null' && $params[4] ? $params[4] : null;
        $this->category = isset($params[5]) && $params[5] !== 'null' && $params[5] ? $params[5] : null;
        $this->alternateTarget = isset($params[6]) && $params[6] !== 'null' && $params[6] ? $params[6] : null;
        $this->defaults = isset($params[7]) && $params[7] !== 'null' && $params[7] ? $params[7] : null;
    }