PHPBeans are reusable software components for PHP that can be manipulated visually in a builder tool. In order to function as a PHPBean class, an object class must obey certain conventions about method naming, construction, and behavior. These conventions make it possible to have tools that can use, reuse, replace, and connect PHPBeans.
The required conventions are:
Properties naming convention: a PHPBean defines a property foo of type bar if it has accessor methods that follow these patterns (if bar is boolean, a special form of getter method is allowed):
/** * @var bar */ public function getFoo();
/** * @var boolean */ public function isFoo();
/** * @param bar $foo */ public function setFoo($foo);