public function add($items = [])
    {
        if (!is_array($items) || func_num_args() > 1) {
            $items = func_get_args();
        }

        $this->push($this->formatInnerField(null, $items));
    }
public function add($items = [])
    {
        if (!is_array($items) || func_num_args() > 1) {
            $items = func_get_args();
        }

        $this->push($this->formatInnerField(null, $items));
    }
public function add ( $ items = [ ] ) { if ( ! is_array ( $ items ) || func_num_args ( ) > 1 ) { $ items = func_get_args ( ) ; } $ this -> push ( $ this -> formatInnerField ( null , $ items ) ) ; }
Allows adding fields to the Attribute Collection.

@param array $items
Allows adding fields to the Attribute Collection .