Jarves\Controller\ObjectCrudController::extractPrimaryKey PHP Method

extractPrimaryKey() protected method

protected extractPrimaryKey ( Request $request ) : array
$request Symfony\Component\HttpFoundation\Request
return array
    protected function extractPrimaryKey(Request $request)
    {
        $primaryKey = [];
        foreach ($this->getPrimary() as $pk) {
            $primaryKey[$pk] = Tools::urlDecode($request->attributes->get($pk));
        }
        return $primaryKey;
    }