本文整理匯總了PHP中collection::removeElement方法的典型用法代碼示例。如果您正苦於以下問題:PHP collection::removeElement方法的具體用法?PHP collection::removeElement怎麽用?PHP collection::removeElement使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在類collection
的用法示例。
在下文中一共展示了collection::removeElement方法的8個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。
示例1: removePeriodeFormation
/**
* Remove periodeFormation
*
* @param JavaLeEET\LivretBundle\Document\PeriodeFormation $periodeFormation
*/
public function removePeriodeFormation(\JavaLeEET\LivretBundle\Document\PeriodeFormation $periodeFormation)
{
$this->periodeFormation->removeElement($periodeFormation);
}
示例2: removeCompetence
/**
* Remove competence
*
* @param JavaLeEET\LivretBundle\Document\Competence $competence
*/
public function removeCompetence(\JavaLeEET\LivretBundle\Document\Competence $competence)
{
$this->competences->removeElement($competence);
}
示例3: removeProduct
public function removeProduct($product)
{
$this->products->removeElement($product);
}
示例4: removeSong
/**
* Remove songs
*
* @param \MusicBundle\Entity\Song $songs
*/
public function removeSong(\MusicBundle\Entity\Song $songs)
{
$this->songs->removeElement($songs);
}
示例5: removeCompetencesUtil
/**
* Remove competencesUtil
*
* @param JavaLeEET\LivretBundle\Document\CompetenceUtil $competencesUtil
*/
public function removeCompetencesUtil(\JavaLeEET\LivretBundle\Document\CompetenceUtil $competencesUtil)
{
$this->competencesUtil->removeElement($competencesUtil);
}
示例6: removeSection
/**
* Remove section
*
* @param JavaLeEET\LivretBundle\Document\Section $section
*/
public function removeSection(\JavaLeEET\LivretBundle\Document\Section $section)
{
$this->sections->removeElement($section);
}
示例7: removeItemLivret
/**
* Remove itemLivret
*
* @param JavaLeEET\LivretBundle\Document\ItemLivret $itemLivret
*/
public function removeItemLivret(\JavaLeEET\LivretBundle\Document\ItemLivret $itemLivret)
{
$this->itemLivret->removeElement($itemLivret);
}
示例8: removeItemEntreprise
/**
* Remove itemEntreprise
*
* @param JavaLeEET\LivretBundle\Document\ItemEntreprise $itemEntreprise
*/
public function removeItemEntreprise(\JavaLeEET\LivretBundle\Document\ItemEntreprise $itemEntreprise)
{
$this->itemEntreprise->removeElement($itemEntreprise);
}