Page MenuHomeWickedGov Phorge

TokenHandlerResult.php
No OneTemporary

Size
675 B
Referenced Files
None
Subscribers
None

TokenHandlerResult.php

<?php
declare( strict_types = 1 );
namespace Wikimedia\Parsoid\Wt2Html\TT;
class TokenHandlerResult {
/** @var array|null */
public $tokens;
/** @var bool */
public $skipOnAny;
/**
* @param array|null $tokens The new array of tokens, or null to retain the
* current token
* @param bool $skipOnAny Don't call this handler's onAny() method for this token
*/
public function __construct( ?array $tokens = null, $skipOnAny = false ) {
if ( $tokens ) {
foreach ( $tokens as $token ) {
if ( $token === null ) {
throw new \InvalidArgumentException( "Invalid token" );
}
}
}
$this->tokens = $tokens;
$this->skipOnAny = $skipOnAny;
}
}

File Metadata

Mime Type
text/x-php
Expires
Sun, Nov 22, 16:49 (16 h, 1 m ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
c3/2e/194dad011cc847e2b4d77d66d4e0
Default Alt Text
TokenHandlerResult.php (675 B)

Event Timeline