Code Coverage
 
Lines
Functions and Methods
Classes and Traits
Total
0.00% covered (danger)
0.00%
0 / 4
0.00% covered (danger)
0.00%
0 / 4
CRAP
0.00% covered (danger)
0.00%
0 / 1
HTMLLinkElement
0.00% covered (danger)
0.00%
0 / 4
0.00% covered (danger)
0.00%
0 / 4
20
0.00% covered (danger)
0.00%
0 / 1
 _unimplemented
n/a
0 / 0
n/a
0 / 0
0
 getHref
0.00% covered (danger)
0.00%
0 / 1
0.00% covered (danger)
0.00%
0 / 1
2
 setHref
0.00% covered (danger)
0.00%
0 / 1
0.00% covered (danger)
0.00%
0 / 1
2
 getRelList
0.00% covered (danger)
0.00%
0 / 1
0.00% covered (danger)
0.00%
0 / 1
2
 getSizes
0.00% covered (danger)
0.00%
0 / 1
0.00% covered (danger)
0.00%
0 / 1
2
1<?php
2
3// AUTOMATICALLY GENERATED.  DO NOT EDIT.
4// Use `composer build` to regenerate.
5
6namespace Wikimedia\IDLeDOM\Stub;
7
8use Exception;
9use Wikimedia\IDLeDOM\DOMTokenList;
10
11trait HTMLLinkElement {
12    // use \Wikimedia\IDLeDOM\Stub\CrossOrigin;
13    // use \Wikimedia\IDLeDOM\Stub\LinkStyle;
14    // use \Wikimedia\IDLeDOM\Stub\ReferrerPolicy;
15
16    // Underscore is used to avoid conflicts with DOM-reserved names
17    // phpcs:disable PSR2.Methods.MethodDeclaration.Underscore
18    // phpcs:disable MediaWiki.NamingConventions.LowerCamelFunctionsName.FunctionName
19
20    /**
21     * @return Exception
22     */
23    abstract protected function _unimplemented(): Exception;
24
25    // phpcs:enable
26
27    /**
28     * @return string
29     */
30    public function getHref(): string {
31        throw self::_unimplemented();
32    }
33
34    /**
35     * @param string $val
36     */
37    public function setHref( string $val ): void {
38        throw self::_unimplemented();
39    }
40
41    /**
42     * @return DOMTokenList
43     */
44    public function getRelList() {
45        throw self::_unimplemented();
46    }
47
48    /**
49     * @return DOMTokenList
50     */
51    public function getSizes() {
52        throw self::_unimplemented();
53    }
54
55}