toArray() публичный Метод

Returns all styles.
public toArray ( ) : Style[]
Результат Style[] The styles indexed by their tags.
Пример #1
0
 public function testClear()
 {
     $styleSet = new StyleSet();
     $styleSet->add(Style::tag('style1'));
     $styleSet->clear();
     $this->assertSame(array(), $styleSet->toArray());
 }