public function apply() { if ($this->canApply()) { $subject = $this->getSubject(); $this->createNode($subject); $this->updateWorkspaceInfo(); } }