src/Entities/Entity.php
public function getActions()
    {
        $actions = [];
        
        if (is_array($this->actions)) {
            
            foreach ($this->actions as $action) {
                $actions[$action] = $action;
            }
        }
        
        return $actions;
    }
public function getActions()
    {
        $actions = [];
        
        if (is_array($this->actions)) {
            
            foreach ($this->actions as $action) {
                $actions[$action] = $action;
            }
        }
        
        return $actions;
    }
public function getActions ( ) { $ actions = [ ] ; if ( is_array ( $ this -> actions ) ) { foreach ( $ this -> actions as $ action ) { $ actions [ $ action ] = $ action ; } } return $ actions ; }
Create link attribute to client

@return array
Create link attribute to client