public function addStateLine(StateLineInterface $stateLine)
    {
        $this
            ->stateLines
            ->add($stateLine);

        $this->lastStateLine = $stateLine;

        return $this;
    }
public function addStateLine(StateLineInterface $stateLine)
    {
        $this
            ->stateLines
            ->add($stateLine);

        $this->lastStateLine = $stateLine;

        return $this;
    }
public function addStateLine ( StateLineInterface $ stateLine ) { $ this -> stateLines -> add ( $ stateLine ) ; $ this -> lastStateLine = $ stateLine ; return $ this ; }
Add state line.

@param StateLineInterface $stateLine State line

@return $this Self object
Add state line .