protected function getActionsAsArrays()
    {
        $actions = [];

        foreach ($this->getActions() as $action) {
            $actions[] = $action->toArray();
        }

        return $actions;
    }
protected function getActionsAsArrays()
    {
        $actions = [];

        foreach ($this->getActions() as $action) {
            $actions[] = $action->toArray();
        }

        return $actions;
    }
protected function getActionsAsArrays ( ) { $ actions = [ ] ; foreach ( $ this -> getActions ( ) as $ action ) { $ actions [ ] = $ action -> toArray ( ) ; } return $ actions ; }
Iterates over all actions in this attachment and returns
them in their array form.

@return array
Iterates over all actions in this attachment and returns them in their array form .