Answers for "the view action (an inline action) has declared two parameters: $id and $version."

0

the view action (an inline action) has declared two parameters: $id and $version.

namespace app\controllers;

use yii\web\Controller;

class PostController extends Controller
{
    public function actionView($id, $version = null)
    {
        // ...
    }
}
Posted by: Guest on April-14-2022

Code answers related to "the view action (an inline action) has declared two parameters: $id and $version."

Browse Popular Code Answers by Language