/** * Remove an asset from the category * * @param Asset $asset * @return $this */ public function removeAsset(Asset $asset) { ListManager::remove($this, 'assets', $asset, ['getId']); return $this; }
/** * Remove an article from the category * * @param Article $article * @return $this */ public function removeArticle(Article $article) { ListManager::remove($this, 'articles', $article, ['getId']); return $this; }