attributeResolver = $attributeResolver; } /** * {@inheritdoc} */ public function canBeSearchableInGrid(AttributeMetadataInterface $attribute) { return $this->attributeResolver->getModelByAttribute(self::ENTITY_TYPE_CUSTOMER, $attribute) ->canBeSearchableInGrid(); } /** * {@inheritdoc} */ public function canBeFilterableInGrid(AttributeMetadataInterface $attribute) { return $this->attributeResolver->getModelByAttribute(self::ENTITY_TYPE_CUSTOMER, $attribute) ->canBeFilterableInGrid(); } }