Class definitions, like function ones, also follow the BSD style.
Example:
<?php class BaseClass { private $var1; private $var2; public function getLength() { } } ?>