/** * @param $type * @return Context */ function whenCreating($type, $graph = null) { return $this->top->whenCreating($type, $graph); }