Let I've a class

```
class MyClass{
    //class implementation
}

```

I want to add the following method to this class:

```
public function addProperty($property){
    //This method will be set a property of a current MyClass instance with the name **property** and the value **$property**
}

```

Any idea to implement this method?