Пример #1
0
 /**
  * @return Workspace
  */
 public function getWorkspace()
 {
     return $this->workspaceRepository->findByRootFolder($this->getTopMostParentFolder());
 }
 /**
  * @param Workspace $workspace
  * @throws \TYPO3\Flow\Persistence\Exception\IllegalObjectTypeException
  */
 public function removeAction(Workspace $workspace)
 {
     $this->workspaceRepository->remove($workspace);
     $this->redirect('index');
 }