Jarves\Controller\ObjectCrudController::extractPrimaryKey PHP Méthode

extractPrimaryKey() protected méthode

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