[PHP] pobierz, plaintext <?phppublic function preDispatch($request) { if ($this->_auth->hasIdentity()) { $role = $this->_auth->getIdentity(); } else { $role = 'guest'; }?>[PHP] pobierz, plaintext