Bundle/BlogBundle/Entity/Article.php
public function getPublishedAtString()
    {
        setlocale(LC_TIME, 'fr_FR');

        if ($this->publishedAt) {
            return $this->publishedAtString = strftime('%d %B %Y', $this->publishedAt->getTimestamp());
        } else {
            return '';
        }
    }
public function getPublishedAtString()
    {
        setlocale(LC_TIME, 'fr_FR');

        if ($this->publishedAt) {
            return $this->publishedAtString = strftime('%d %B %Y', $this->publishedAt->getTimestamp());
        } else {
            return '';
        }
    }
public function getPublishedAtString ( ) { setlocale ( LC_TIME , 'fr_FR' ) ; if ( $ this -> publishedAt ) { return $ this -> publishedAtString = strftime ( '%d %B %Y' , $ this -> publishedAt -> getTimestamp ( ) ) ; } else { return '' ; } }
Get publishedAtString.

@return string
Get publishedAtString .