src/Navbar.php
public function text($string, $pull = false)
    {
        $align = (in_array($pull, array('left', 'right'))) ? ' navbar-'.$pull : '';

        return "\n\t".'<p class="navbar-text'.$align.'">'.$this->addClass($string, array('a' => 'navbar-link')).'</p>';
    }
public function text($string, $pull = false)
    {
        $align = (in_array($pull, array('left', 'right'))) ? ' navbar-'.$pull : '';

        return "\n\t".'<p class="navbar-text'.$align.'">'.$this->addClass($string, array('a' => 'navbar-link')).'</p>';
    }
public function text ( $ string , $ pull = false ) { $ align = ( in_array ( $ pull , array ( 'left' , 'right' ) ) ) ? ' navbar-' . $ pull : '' ; return "\n\t" . '<p class="navbar-text' . $ align . '">' . $ this -> addClass ( $ string , array ( 'a' => 'navbar-link' ) ) . '</p>' ; }
Add a string of text to your navbar.

@param string $string The message you would like to get across.  It will be wrapped in a ``<p class="navbar-text">`` tag, and any ``<a>``'s  will be classed with a '**navbar-link**'.
@param string $pull   Either '**left**' or '**right**'.

@return string

@example

```php
echo $bp->navbar->text('You <a href="#">link</a> me');
```
Add a string of text to your navbar .