コード例 #1
0
 /**
  * @return Workspace
  */
 public function getWorkspace()
 {
     return $this->workspaceRepository->findByRootFolder($this->getTopMostParentFolder());
 }
コード例 #2
0
 /**
  * @param Workspace $workspace
  * @throws \TYPO3\Flow\Persistence\Exception\IllegalObjectTypeException
  */
 public function removeAction(Workspace $workspace)
 {
     $this->workspaceRepository->remove($workspace);
     $this->redirect('index');
 }