src/actions/Action.php
public function prepareData($data = [])
    {
        return (array) ($this->data instanceof Closure ? call_user_func($this->data, $this, $data) : $this->data);
    }
public function prepareData($data = [])
    {
        return (array) ($this->data instanceof Closure ? call_user_func($this->data, $this, $data) : $this->data);
    }
public function prepareData ( $ data = [ ] ) { return ( array ) ( $ this -> data instanceof Closure ? call_user_func ( $ this -> data , $ this , $ data ) : $ this -> data ) ; }
Prepares additional data for render.

@param $data array Additional data, prepared by other classes. Optional.
@return array
Prepares additional data for render .