library/QATools/QATools/HtmlElements/Element/Select.php
protected function wrapOptions(array $nodes)
	{
		$ret = array();

		foreach ( $nodes as $node_element ) {
			/** @var SelectOption $option */
			$option = SelectOption::fromNodeElement($node_element, $this->getPageFactory());
			$ret[] = $option->setSelect($this);
		}

		return $ret;
	}
protected function wrapOptions(array $nodes)
	{
		$ret = array();

		foreach ( $nodes as $node_element ) {
			/** @var SelectOption $option */
			$option = SelectOption::fromNodeElement($node_element, $this->getPageFactory());
			$ret[] = $option->setSelect($this);
		}

		return $ret;
	}
protected function wrapOptions ( array $ nodes ) { $ ret = array ( ) ; foreach ( $ nodes as $ node_element ) { /** @var SelectOption $option */ $ option = SelectOption :: fromNodeElement ( $ node_element , $ this -> getPageFactory ( ) ) ; $ ret [ ] = $ option -> setSelect ( $ this ) ; } return $ ret ; }
Wraps each of NodeElement in array with a SelectOption class.

@param array|NodeElement[] $nodes Nodes.

@return SelectOption[]
Wraps each of NodeElement in array with a SelectOption class .