public function Find(IComponent $component) { if (isset($this->items[$component->GetName()])) { return $this->items[$component->GetName()]; } return null; }