public function AddOverload(\Peg\Lib\Definitions\Element\Overload $overload)
    {
        $overload->function =& $this;
        $this->overloads[] = $overload;
        
        return $this;
    }
public function AddOverload(\Peg\Lib\Definitions\Element\Overload $overload)
    {
        $overload->function =& $this;
        $this->overloads[] = $overload;
        
        return $this;
    }
public function AddOverload ( \ Peg \ Lib \ Definitions \ Element \ Overload $ overload ) { $ overload -> function = & $ this ; $ this -> overloads [ ] = $ overload ; return $ this ; }
Adds a new overload for the function.
@param \Peg\Lib\Definitions\Element\Overload $overload
@return \Peg\Lib\Definitions\Element\FunctionElement
Adds a new overload for the function .