src/Tag.php
public function getProps($list = null)
    {
        if ($list && is_array($list)) {
            $result = array();
            foreach ($list as $key) {
                $result[$key] = $this->get($key);
            }

            return $result;
        }

        return $this->props;
    }
public function getProps($list = null)
    {
        if ($list && is_array($list)) {
            $result = array();
            foreach ($list as $key) {
                $result[$key] = $this->get($key);
            }

            return $result;
        }

        return $this->props;
    }
public function getProps ( $ list = null ) { if ( $ list && is_array ( $ list ) ) { $ result = array ( ) ; foreach ( $ list as $ key ) { $ result [ $ key ] = $ this -> get ( $ key ) ; } return $ result ; } return $ this -> props ; }
Returns some or all of the HTML element's properties

@param array|null $list

@return array
Returns some or all of the HTML element s properties