private function setData(array $data)
    {
        $this->data = (array) $data;

        // remove reserved stuff
        if (isset($this->data[self::VAR_CONTROLLER])) {
            unset($this->data[self::VAR_CONTROLLER]);
        }

        return !empty($this->data);
    }
private function setData(array $data)
    {
        $this->data = (array) $data;

        // remove reserved stuff
        if (isset($this->data[self::VAR_CONTROLLER])) {
            unset($this->data[self::VAR_CONTROLLER]);
        }

        return !empty($this->data);
    }
private function setData ( array $ data ) { $ this -> data = ( array ) $ data ; // remove reserved stuff if ( isset ( $ this -> data [ self :: VAR_CONTROLLER ] ) ) { unset ( $ this -> data [ self :: VAR_CONTROLLER ] ) ; } return ! empty ( $ this -> data ) ; }
Set command data.

@param array $data

@return bool
Set command data .