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
ProductBundle
Model
BaseProductProvider
getStockAvailable
Sonata\ProductBundle\Model\BaseProductProvider::getStockAvailable PHP 메소드
BaseProductProvider 1 문서
파일 보기
프로젝트 열기: sonata-project/ecommerce
getStockAvailable()
공개
메소드
public
getStockAvailable
(
Sonata\Component\Product\ProductInterface
$product
)
$product
Sonata\Component\Product\ProductInterface
public function getStockAvailable(ProductInterface $product) { return $product->getStock(); }
BaseProductProvider
__construct
basketAddProduct
basketMergeProduct
buildBasketElement
buildCreateForm
buildEditForm
buildForm
calculatePrice
configureShowFields
createBasketElement
createOrderElement
createVariation
defineAddBasketForm
defineBasketElementForm
findOneById
getBasketElementManager
getCheapestEnabledVariation
getCode
getCurrencyPriceCalculator
getEnabledVariations
getEventDispatcher
getFilters
getMergedFields
getOption
getOptions
getProductCategoryManager
getProductCollectionManager
getProductFromRaw
getRawProduct
getStockAvailable
getVariatedProperties
getVariation
getVariationFields
getVariationsChoices
hasEnabledVariations
hasVariationFields
hasVariations
isAddableToBasket
isValidBasketElement
isVariateBy
reloadProduct
setBasketElementManager
setCode
setCurrencyPriceCalculator
setEventDispatcher
setOptions
setOrderElementClassName
setProductCategoryManager
setProductCollectionManager
setVariationFields
synchronizeVariations
synchronizeVariationsCategories
synchronizeVariationsCollections
synchronizeVariationsDeliveries
synchronizeVariationsPackages
synchronizeVariationsProduct
updateComputationPricesFields
updateStock
validateFormBasketElement