Page MenuHomeWickedGov Phorge

CSSStyleSheet.php
No OneTemporary

Size
1 KB
Referenced Files
None
Subscribers
None

CSSStyleSheet.php

<?php
// AUTOMATICALLY GENERATED. DO NOT EDIT.
// Use `composer build` to regenerate.
namespace Wikimedia\IDLeDOM\Stub;
use Exception;
use Wikimedia\IDLeDOM\CSSRule;
use Wikimedia\IDLeDOM\CSSRuleList;
trait CSSStyleSheet {
// Underscore is used to avoid conflicts with DOM-reserved names
// phpcs:disable PSR2.Methods.MethodDeclaration.Underscore
// phpcs:disable MediaWiki.NamingConventions.LowerCamelFunctionsName.FunctionName
/**
* @return Exception
*/
abstract protected function _unimplemented(): Exception;
// phpcs:enable
/**
* @return CSSRule|null
*/
public function getOwnerRule() {
throw self::_unimplemented();
}
/**
* @return CSSRuleList
*/
public function getCssRules() {
throw self::_unimplemented();
}
/**
* @param string $rule
* @param int $index
* @return int
*/
public function insertRule( string $rule, int $index = 0 ): int {
throw self::_unimplemented();
}
/**
* @param int $index
* @return void
*/
public function deleteRule( int $index ): void {
throw self::_unimplemented();
}
/**
* @param string $text
* @return void
*/
public function replaceSync( string $text ): void {
throw self::_unimplemented();
}
/**
* @return CSSRuleList
*/
public function getRules() {
throw self::_unimplemented();
}
/**
* @param string $selector
* @param string $style
* @param ?int $index
* @return int
*/
public function addRule( string $selector = 'undefined', string $style = 'undefined', ?int $index = null ): int {
throw self::_unimplemented();
}
/**
* @param int $index
* @return void
*/
public function removeRule( int $index = 0 ): void {
throw self::_unimplemented();
}
}

File Metadata

Mime Type
text/x-php
Expires
Wed, Aug 19, 15:03 (3 w, 5 d ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
4d/89/7e88de22e0689dfe08f711db3ad5
Default Alt Text
CSSStyleSheet.php (1 KB)

Event Timeline