public function setDefaults(array $properties) { foreach ($properties as $property => $default) { $this->setDefault($property, $default); } return $this; }
/** * {@inheritDoc} */ public function present(Media $Media) { return $Media->setDefaults($this->_defaults); }