Page MenuHomeWickedGov Phorge

DeclarationList.php
No OneTemporary

Size
616 B
Referenced Files
None
Subscribers
None

DeclarationList.php

<?php
/**
* @file
* @license https://opensource.org/licenses/Apache-2.0 Apache-2.0
*/
namespace Wikimedia\CSS\Objects;
/**
* Represent a list of declarations
*/
class DeclarationList extends CSSObjectList {
/**
* @var string
*/
protected static $objectType = Declaration::class;
/** @inheritDoc */
protected function getSeparator( CSSObject $left, ?CSSObject $right = null ) {
if ( $right ) {
return [
new Token( Token::T_SEMICOLON ),
new Token( Token::T_WHITESPACE, [ 'significant' => false ] ),
];
}
return [ new Token( Token::T_SEMICOLON, [ 'significant' => false ] ) ];
}
}

File Metadata

Mime Type
text/x-php
Expires
Tue, Aug 18, 21:35 (2 d, 18 h ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
6c/d7/a2c3beec1e90291d001dd48cc0dd
Default Alt Text
DeclarationList.php (616 B)

Event Timeline