src/main/php/ioc/Binder.php
public function bindList($name)
    {
        if (!isset($this->listBindings[$name])) {
            $this->listBindings[$name] = $this->addBinding(new ListBinding($name));
        }

        return $this->listBindings[$name];
    }
public function bindList($name)
    {
        if (!isset($this->listBindings[$name])) {
            $this->listBindings[$name] = $this->addBinding(new ListBinding($name));
        }

        return $this->listBindings[$name];
    }
public function bindList ( $ name ) { if ( ! isset ( $ this -> listBindings [ $ name ] ) ) { $ this -> listBindings [ $ name ] = $ this -> addBinding ( new ListBinding ( $ name ) ) ; } return $ this -> listBindings [ $ name ] ; }
bind to a list

If a list with given name already exists it will return exactly this list
to add more values to it.

@param   string  $name
@return  \stubbles\ioc\binding\ListBinding
@since   2.0.0
bind to a list