src/Decorator/Style.php
public function current()
    {
        $full_current = [];

        foreach ($this->style as $style) {
            $full_current = array_merge($full_current, Helper::toArray($style->current()));
        }

        $full_current = array_filter($full_current);

        return array_values($full_current);
    }
public function current()
    {
        $full_current = [];

        foreach ($this->style as $style) {
            $full_current = array_merge($full_current, Helper::toArray($style->current()));
        }

        $full_current = array_filter($full_current);

        return array_values($full_current);
    }
public function current ( ) { $ full_current = [ ] ; foreach ( $ this -> style as $ style ) { $ full_current = array_merge ( $ full_current , Helper :: toArray ( $ style -> current ( ) ) ) ; } $ full_current = array_filter ( $ full_current ) ; return array_values ( $ full_current ) ; }
Compile an array of the current codes

@return array
Compile an array of the current codes