/** * Retrieve attribute label * * @param AbstractAttribute $attribute * @return string */ public function getAttributeLabel($attribute) { return $attribute->getStoreLabel(); }