public function __construct(array $visitors = array()) { foreach ($visitors as $visitor) { $this->addVisitor($visitor); } }