예제 #1
0
 /**
  * {@inheritDoc}
  *
  * @api
  */
 public function accept(ItemVisitorInterface $visitor)
 {
     $this->checkState();
     $visitor->visit($this);
 }
예제 #2
0
파일: Item.php 프로젝트: rambo/jackalope
 /**
  * Accepts an ItemVisitor, calls visit on it
  *
  * @param \PHPCR\ItemVisitorInterface $visitor The ItemVisitor to be accepted.
  * @throws \PHPCR\RepositoryException if an error occurs.
  * @api
  */
 public function accept(\PHPCR\ItemVisitorInterface $visitor)
 {
     $visitor->visit($this);
 }