public function Collection::append in Openlayers 7.3
Add object to this collection.
Parameters
ObjectInterface $object: Object instance to add to this collection.
1 call to Collection::append()
- Collection::import in src/
Types/ Collection.php - Import a flat list of Openlayers Objects.
File
- src/
Types/ Collection.php, line 85 - Class Collection.
Class
- Collection
- Class Collection.
Namespace
Drupal\openlayers\TypesCode
public function append(ObjectInterface $object) {
$this->objects[$object
->getType() . '_' . $object
->getMachineName()] = $object;
}