public function addSetters(array $setters)
    {
        foreach ($setters as $property => $setter) {
            if (is_int($property)) {
                $property = $setter;
                $setter   = 'set' . ucfirst($setter);
            }
            $this->setters[$setter] = $property;
        }
    }
public function addSetters(array $setters)
    {
        foreach ($setters as $property => $setter) {
            if (is_int($property)) {
                $property = $setter;
                $setter   = 'set' . ucfirst($setter);
            }
            $this->setters[$setter] = $property;
        }
    }
public function addSetters ( array $ setters ) { foreach ( $ setters as $ property => $ setter ) { if ( is_int ( $ property ) ) { $ property = $ setter ; $ setter = 'set' . ucfirst ( $ setter ) ; } $ this -> setters [ $ setter ] = $ property ; } }
Register multiple property setters.

@param array $setters
Register multiple property setters .