Page MenuHomeWickedGov Phorge

ComponentValue.php
No OneTemporary

Size
681 B
Referenced Files
None
Subscribers
None

ComponentValue.php

<?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

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)

Event Timeline