paulschwarz / php-role-proxy

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

#RoleProxy

coding exercise

##Concept

Here, an entity is a POPO with public properties. In the provided examples a User (having name and password public properties) is proxied through instances of Role\User\Friend and Role\User\Myself respectively.

A User as a Friend allows read access to name and no write access.

A User as a Myself allows read access to both name and password and write access to both name and password.

About

License:MIT License


Languages

Language:PHP 100.0%