示例#1
0
 public function testEmptyAssetIdsIgnored()
 {
     $collection = new Collection(['', 1, 2, 3]);
     $this->assertEquals([1, 2, 3], $collection->getAssetIds());
 }
示例#2
0
 public function remove()
 {
     $collection = new Asset\Collection($this->request->input('assets'));
     $collection->removeTag($this->request->input('tag'));
 }
示例#3
0
 public function remove()
 {
     $this->collection->removeTag($this->tag);
 }