src/Colorium/Web/Context.php
public function post(...$keys)
    {
        if(!$keys) {
            return $this->request->values;
        }
        elseif(count($keys) === 1) {
            return $this->request->value($keys[0]);
        }

        $values = [];
        foreach($keys as $key) {
            $values[] = $this->request->value($key);
        }
        return $values;
    }
public function post(...$keys)
    {
        if(!$keys) {
            return $this->request->values;
        }
        elseif(count($keys) === 1) {
            return $this->request->value($keys[0]);
        }

        $values = [];
        foreach($keys as $key) {
            $values[] = $this->request->value($key);
        }
        return $values;
    }
public function post ( ... $ keys ) { if ( ! $ keys ) { return $ this -> request -> values ; } elseif ( count ( $ keys ) === 1 ) { return $ this -> request -> value ( $ keys [ 0 ] ) ; } $ values = [ ] ; foreach ( $ keys as $ key ) { $ values [ ] = $ this -> request -> value ( $ key ) ; } return $ values ; }
Get post value

@param array $keys
@return string
Get post value