protected function formatFields()
    {
        $fields = $this->fields;

        if (!$fields instanceof AttributeCollection) {
            $fields = new AttributeCollection($fields, $this);
        }

        return $this->fields = $fields->formatFields();
    }
protected function formatFields()
    {
        $fields = $this->fields;

        if (!$fields instanceof AttributeCollection) {
            $fields = new AttributeCollection($fields, $this);
        }

        return $this->fields = $fields->formatFields();
    }
protected function formatFields ( ) { $ fields = $ this -> fields ; if ( ! $ fields instanceof AttributeCollection ) { $ fields = new AttributeCollection ( $ fields , $ this ) ; } return $ this -> fields = $ fields -> formatFields ( ) ; }
Format the provided Attribute Fields into a more usable format.
Format the provided Attribute Fields into a more usable format .