src/Utils/HelperMultiple.php
public static function prepare($name, $source, $option)
    {
        // get options.
        if (is_string($option)) {
            $option = (array) Helper::arrGet(self::$multiples, $option, array());
        }
        $lists = self::find_multiple($name, $source, $option);
        $found = self::merge_multiple($option, $lists);


        return $found;
    }
public static function prepare($name, $source, $option)
    {
        // get options.
        if (is_string($option)) {
            $option = (array) Helper::arrGet(self::$multiples, $option, array());
        }
        $lists = self::find_multiple($name, $source, $option);
        $found = self::merge_multiple($option, $lists);


        return $found;
    }
public static function prepare ( $ name , $ source , $ option ) { // get options. if ( is_string ( $ option ) ) { $ option = ( array ) Helper :: arrGet ( self :: $ multiples , $ option , array ( ) ) ; } $ lists = self :: find_multiple ( $ name , $ source , $ option ) ; $ found = self :: merge_multiple ( $ option , $ lists ) ; return $ found ; }
prepares for validation by creating a value from multiple value.

@param string       $name
@param array        $source
@param string|array $option
@return mixed|null|string
prepares for validation by creating a value from multiple value .