Do adalat in the class all the variables properties?

There is a class. There are a lot of methods. Suppose there is a certain method, which uses two class properties that are used more than in any other method. May he, for example, returns a result of nibut and operates two variables.

Do I have these two variables declared class properties, or you can leave dynamic variables? Or is it a bad tone?
September 26th 19 at 06:13
2 answers
September 26th 19 at 06:15
a bad tone is to create confusion where it was possible to do.
if variables are needed for local work, and taking it anywhere is not necessary.

in the properties render the data we work with several methods or external code
Thank you for the clear and quick response. - Ward71 commented on September 26th 19 at 06:18
September 26th 19 at 06:17
Cheto some porridge.
a certain method, the properties of which are not used in any other method
method properties?
corrected, meant the properties of the class that this method uses. Should they be properties or local variables. - Ward71 commented on September 26th 19 at 06:20
where do you hear "property"? Field of the class, member class, data class - so you will understand. - Ward71 commented on September 26th 19 at 06:23

Find more questions by tags OOPPHP