classes/phing/filters/BaseParamFilterReader.php
public function setParameters($parameters)
    {
        // type check, error must never occur, bad code of it does
        if (!is_array($parameters)) {
            throw new Exception("Expected parameters array got something else");
        }

        $this->_parameters = $parameters;
        $this->setInitialized(false);
    }
public function setParameters($parameters)
    {
        // type check, error must never occur, bad code of it does
        if (!is_array($parameters)) {
            throw new Exception("Expected parameters array got something else");
        }

        $this->_parameters = $parameters;
        $this->setInitialized(false);
    }
public function setParameters ( $ parameters ) { // type check, error must never occur, bad code of it does if ( ! is_array ( $ parameters ) ) { throw new Exception ( "Expected parameters array got something else" ) ; } $ this -> _parameters = $ parameters ; $ this -> setInitialized ( false ) ; }
Sets the parameters used by this filter, and sets
the filter to an uninitialized status.

@param array $parameters Array of parameters to be used by this filter.
Should not be <code>null</code>.

@return void

@throws Exception
Sets the parameters used by this filter and sets the filter to an uninitialized status .