src/Charcoal/Admin/Action/Filesystem/LoadAction.php
public function setData(array $data)
    {
        $keys = $this->validDataFromRequest();
        $data = array_intersect_key($data, array_flip($keys));
        $this->mergeData($data);

        return $this;
    }
public function setData(array $data)
    {
        $keys = $this->validDataFromRequest();
        $data = array_intersect_key($data, array_flip($keys));
        $this->mergeData($data);

        return $this;
    }
public function setData ( array $ data ) { $ keys = $ this -> validDataFromRequest ( ) ; $ data = array_intersect_key ( $ data , array_flip ( $ keys ) ) ; $ this -> mergeData ( $ data ) ; return $ this ; }
Sets the action data.

@param  array $data The action data.
@return self
Sets the action data .