protected function getAttributesCollection(ElementInterface $element) : AttributeCollection
    {
        $collection = new AttributeCollection();
        $element->prepareAttributesCollection($collection);

        return $collection;
    }
protected function getAttributesCollection(ElementInterface $element) : AttributeCollection
    {
        $collection = new AttributeCollection();
        $element->prepareAttributesCollection($collection);

        return $collection;
    }
protected function getAttributesCollection ( ElementInterface $ element ) : AttributeCollection { $ collection = new AttributeCollection ( ) ; $ element -> prepareAttributesCollection ( $ collection ) ; return $ collection ; }
Returns attributes collection for element

@param ElementInterface $element

@return AttributeCollection
Returns attributes collection for element