name = $info['name']; $this->arguments = $info['argument']; $this->used = $info['used']; $this->loadOnce = $info['load once']; $props = array_key_exists('properties',$info)?$info['properties']:[]; $this->properties = new PropertyList($props, true); } /** * * * @return string */ public function getName() { return $this->name; } /** * * * @return array */ public function getArguments() { return $this->arguments; } /** * * * @return int */ public function getUsed() { return $this->used; } /** * * * @return bool */ public function getLoadOnce() { return $this->loadOnce; } /** * * * @return PropertyList */ public function getProperties() { return $this->properties; } }