Exemple #1
0
    public function testCustom()
    {
        $label = Label::custom('success', 'foo', $this->testAttributes);
        $match = $this->createMatcher('success');

        $this->assertHTML($match, $label);
    }
Exemple #2
0
 /**
  * Adds the given classes to attributes
  *
  * @param array $classes
  * @return $this 
  * @static 
  */
 public static function addClass($classes)
 {
     //Method inherited from \Bootstrapper\RenderedObject
     return \Bootstrapper\Label::addClass($classes);
 }