Since: 3.0.0
Author: Henry Ruhs
Inheritance: extends Redaxscript\Singleton, implements Redaxscript\Head\HeadInterface
示例#1
0
 /**
  * testRender
  *
  * @since 3.0.0
  *
  * @param string $append
  * @param string $prepend
  * @param string $expect
  *
  * @dataProvider providerInline
  */
 public function testRender($append = null, $prepend = null, $expect = null)
 {
     /* setup */
     $style = Head\Style::getInstance();
     $style->appendInline($append)->prependInline($prepend);
     /* actual */
     $actual = $style;
     /* compare */
     $this->assertEquals($expect, $actual);
 }
示例#2
0
 /**
  * style
  *
  * @since 3.0.0
  *
  * @return object
  */
 public static function style()
 {
     return Head\Style::getInstance();
 }