public function getExpandActions($actions)
    {
        $actions = (array) $actions;
        return array_flatten(array_map(function ($action) use ($actions) {
            return array_key_exists($action, $this->getAliasedActions()) ? [$action, $this->getExpandActions($this->getAliasedActions()[$action])] : $action;
        }, $actions));
    }
public function getExpandActions($actions)
    {
        $actions = (array) $actions;
        return array_flatten(array_map(function ($action) use ($actions) {
            return array_key_exists($action, $this->getAliasedActions()) ? [$action, $this->getExpandActions($this->getAliasedActions()[$action])] : $action;
        }, $actions));
    }
public function getExpandActions ( $ actions ) { $ actions = ( array ) $ actions ; return array_flatten ( array_map ( function ( $ action ) use ( $ actions ) { return array_key_exists ( $ action , $ this -> getAliasedActions ( ) ) ? [ $ action , $ this -> getExpandActions ( $ this -> getAliasedActions ( ) [ $ action ] ) ] : $ action ; } , $ actions ) ) ; }
rely on the actions to be expanded.
rely on the actions to be expanded .