Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F4078356
ComponentValue.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
681 B
Referenced Files
None
Subscribers
None
ComponentValue.php
View Options
<?php
/**
* @file
* @license https://opensource.org/licenses/Apache-2.0 Apache-2.0
*/
namespace
Wikimedia\CSS\Objects
;
/**
* Represent a CSS component value
*/
abstract
class
ComponentValue
implements
CSSObject
{
/** @var int Line in the input where this component value starts */
protected
$line
=
-
1
;
/** @var int Position in the input where this component value starts */
protected
$pos
=
-
1
;
/**
* Get the position of this ComponentValue in the input stream
* @return array [ $line, $pos ]
*/
public
function
getPosition
()
{
return
[
$this
->
line
,
$this
->
pos
];
}
/** @inheritDoc */
public
function
toComponentValueArray
()
{
return
[
$this
];
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Aug 18 2026, 04:03 (8 w, 4 d ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
40/4d/dd0e28cc0ee24bd5f0e21e8306ac
Default Alt Text
ComponentValue.php (681 B)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment