Toggle navigation
Hot Examples
KO
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
검색
홈
Sonata
Component
Product
ProductProviderInterface
getStockAvailable
Sonata\Component\Product\ProductProviderInterface::getStockAvailable PHP 메소드
ProductProviderInterface 0 문서
파일 보기
프로젝트 열기: sonata-project/ecommerce
getStockAvailable()
공개
메소드
return the stock available for the current product.
public
getStockAvailable
(
Sonata\Component\Product\ProductInterface
$product
) :
integer
$product
Sonata\Component\Product\ProductInterface
리턴
integer
the stock available
public function getStockAvailable(ProductInterface $product);
ProductProviderInterface
basketAddProduct
basketMergeProduct
buildBasketElement
buildCreateForm
buildEditForm
buildForm
calculatePrice
configureShowFields
createBasketElement
createVariation
defineAddBasketForm
defineBasketElementForm
getBaseControllerName
getBasketElementManager
getCheapestEnabledVariation
getEnabledVariations
getFilters
getProductCategoryManager
getProductCollectionManager
getStockAvailable
getVariatedProperties
getVariation
getVariationsChoices
hasEnabledVariations
hasVariations
isAddableToBasket
isValidBasketElement
setBasketElementManager
setProductCategoryManager
setProductCollectionManager
synchronizeVariations
synchronizeVariationsCategories
synchronizeVariationsCollections
synchronizeVariationsDeliveries
synchronizeVariationsPackages
synchronizeVariationsProduct
updateComputationPricesFields
updateStock
validateFormBasketElement