public function setStatusCodes(array $statusCodes)
    {
        $this->_statusCodes = array();
        foreach ($statusCodes as $value) {
            $this->addStatusCode($value);
        }
    }
public function setStatusCodes(array $statusCodes)
    {
        $this->_statusCodes = array();
        foreach ($statusCodes as $value) {
            $this->addStatusCode($value);
        }
    }
public function setStatusCodes ( array $ statusCodes ) { $ this -> _statusCodes = array ( ) ; foreach ( $ statusCodes as $ value ) { $ this -> addStatusCode ( $ value ) ; } }
Sets statusCodes.

@param array $statusCodes The statusCodes value.

@return void
Sets statusCodes .