src/Element/Select.php
public function addOption( array $config ) {
        $opt = new Option;

        $opt->setAttributes( $config );

        $this->addChild( $opt );
    }
public function addOption( array $config ) {
        $opt = new Option;

        $opt->setAttributes( $config );

        $this->addChild( $opt );
    }
public function addOption ( array $ config ) { $ opt = new Option ; $ opt -> setAttributes ( $ config ) ; $ this -> addChild ( $ opt ) ; }
Adds an option given the config array.
@param $config an array of config
Adds an option given the config array .