protected function getCursorPosition($stub)
    {
        $position = strrpos($stub, ',');

        return $position !== false ? $position : strrpos($stub, '[');
    }
protected function getCursorPosition($stub)
    {
        $position = strrpos($stub, ',');

        return $position !== false ? $position : strrpos($stub, '[');
    }
protected function getCursorPosition ( $ stub ) { $ position = strrpos ( $ stub , ',' ) ; return $ position !== false ? $ position : strrpos ( $ stub , '[' ) ; }
Gets the index on where to append messages to of a given stub.

@param string $stub

@return mix (int | false)
Gets the index on where to append messages to of a given stub .