public function loadProperties(Hook\PropertyHook $hook) { foreach ($this->properties as $name => $property) { $hook->registerProperty($name, $property); } }