Exemplo n.º 1
0
 /**
  * Accept visitor.
  *
  * @param IdmlVisitor $visitor
  * @param int $depth
  */
 public function accept(IdmlVisitor $visitor, $depth = 0)
 {
     if ($this->visible) {
         // IdmlImage cannot have children.
         $visitor->visitImage($this, $depth);
     }
 }