for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/*
* This file is part of the Pagerfanta package.
*
* (c) Pablo Díez <[email protected]>
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace WhiteOctober\PagerfantaBundle\View;
/**
* This view renders the twitter bootstrap view with texts translated.
* @author Pablo Díez <[email protected]>
class TwitterBootstrapTranslatedView extends TranslatedView
{
protected function previousMessageOption()
return 'prev_message';
}
protected function nextMessageOption()
return 'next_message';
protected function buildPreviousMessage($text)
return sprintf('← %s', $text);
protected function buildNextMessage($text)
return sprintf('%s →', $text);
* {@inheritdoc}
public function getName()
return 'twitter_bootstrap_translated';