コード例 #1
0
ファイル: AttributeManager.php プロジェクト: spryker/Product
 /**
  * @param string $attributeName
  *
  * @return bool
  */
 public function hasAttribute($attributeName)
 {
     $attributeQuery = $this->productQueryContainer->queryAttributeByName($attributeName);
     return $attributeQuery->count() > 0;
 }