Grav\Plugin\Admin\AdminBaseController::getPost PHP Метод

getPost() защищенный Метод

Prepare and return POST data.
protected getPost ( array $post ) : array
$post array
Результат array
    protected function getPost($post)
    {
        unset($post['task']);
        // Decode JSON encoded fields and merge them to data.
        if (isset($post['_json'])) {
            $post = array_replace_recursive($post, $this->jsonDecode($post['_json']));
            unset($post['_json']);
        }
        $post = $this->cleanDataKeys($post);
        return $post;
    }