Source for file Identity.php
Documentation is available at Identity.php
- 1: <?php
- 3: /**
- 4: * Nette Framework
- 5: *
- 11: */
- 15: /**
- 16: * Default implementation of IIdentity.
- 17: *
- 20: *
- 23: *
- 25: */
- 27: {
- 38: /**
- 42: */
- 44: {
- 48: }
- 52: /**
- 53: * Sets the name of user.
- 56: */
- 58: {
- 62: }
- 66: /**
- 67: * Returns the name of user.
- 69: */
- 71: {
- 73: }
- 77: /**
- 78: * Sets a list of roles that the user is a member of.
- 81: */
- 83: {
- 87: }
- 91: /**
- 92: * Returns a list of roles that the user is a member of.
- 94: */
- 96: {
- 98: }
- 102: /**
- 103: * Returns a user data.
- 105: */
- 107: {
- 109: }
- 113: /**
- 114: * Sets user data value.
- 118: */
- 120: {
- 127: }
- 128: }
- 132: /**
- 133: * Returns user data value.
- 136: */
- 138: {
- 144: }
- 145: }
- 149: /**
- 150: * Is property defined?
- 153: */
- 155: {
- 157: }
- 161: /**
- 162: * Removes property.
- 166: */
- 168: {
- 169: throw new MemberAccessException("Cannot unset the property {$this->reflection->name}::\$$name.");
- 170: }
- 172: }