1 | <?php |
||
13 | class Logo { |
||
14 | /** |
||
15 | * Absolute URL of the Jetpack logo. |
||
16 | * |
||
17 | * @var string |
||
18 | */ |
||
19 | private $url; |
||
20 | |||
21 | /** |
||
22 | * Constructor. |
||
23 | * You can optionally pass a URL to override the default one. |
||
24 | * |
||
25 | * @param string $url New URL of the Jetpack logo. |
||
26 | */ |
||
27 | public function __construct( $url = '' ) { |
||
34 | |||
35 | /** |
||
36 | * Build and render an <img /> tag with the Jetpack logo. |
||
37 | * |
||
38 | * @return string The Jetpack logo in an <img /> tag. |
||
39 | */ |
||
40 | public function render() { |
||
47 | } |
||
48 |