src/Charcoal/Admin/Action/Filesystem/LoadAction.php
public function getParams(array $keys = null)
    {
        $params = $this->params;

        if ($keys) {
            $subset = [];
            foreach ($keys as $key) {
                if (array_key_exists($key, $params)) {
                    $subset[$key] = $params[$key];
                }
            }
            return $subset;
        }

        return $params;
    }
public function getParams(array $keys = null)
    {
        $params = $this->params;

        if ($keys) {
            $subset = [];
            foreach ($keys as $key) {
                if (array_key_exists($key, $params)) {
                    $subset[$key] = $params[$key];
                }
            }
            return $subset;
        }

        return $params;
    }
public function getParams ( array $ keys = null ) { $ params = $ this -> params ; if ( $ keys ) { $ subset = [ ] ; foreach ( $ keys as $ key ) { if ( array_key_exists ( $ key , $ params ) ) { $ subset [ $ key ] = $ params [ $ key ] ; } } return $ subset ; } return $ params ; }
Get the associative array of request parameters.

@param  array|null $keys Subset of keys to retrieve.
@return array|null
Get the associative array of request parameters .