コード例 #1
0
 public function testEmptyAssetIdsIgnored()
 {
     $collection = new Collection(['', 1, 2, 3]);
     $this->assertEquals([1, 2, 3], $collection->getAssetIds());
 }
コード例 #2
0
ファイル: Tags.php プロジェクト: robbytaylor/boom-core
 public function remove()
 {
     $collection = new Asset\Collection($this->request->input('assets'));
     $collection->removeTag($this->request->input('tag'));
 }
コード例 #3
0
ファイル: TagsController.php プロジェクト: boomcms/boom-core
 public function remove()
 {
     $this->collection->removeTag($this->tag);
 }