<?php class UserController { public $data; } $userControllerObject = new UserController; $exludedAction = [UserController::class => [ "login", "register" ] ]; $type = get_class($userControllerObject); $cl = array_key_exists($type, $exludedAction); var_dump($cl);
You have javascript disabled. You will not be able to edit any code.