Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F4110167
DeclarationList.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
616 B
Referenced Files
None
Subscribers
None
DeclarationList.php
View Options
<?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
Details
Attached
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)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment