示例#1
0
 /**
  * @param ChainViewInterface $view
  * @return GuidedChainView
  */
 public function blocksView(ChainViewInterface $view)
 {
     return new GuidedChainView($this, $view, $this->segmentBlock->offsetGet($view->getSegment()));
 }
示例#2
0
 /**
  * @return ChainSegment
  */
 public function getSegment()
 {
     return $this->view->getSegment();
 }