Bundle/BlogBundle/Entity/Article.php
public function getPublishedAt()
    {
        if ($this->status == PageStatus::PUBLISHED && $this->publishedAt === null) {
            $this->setPublishedAt($this->getCreatedAt());
        }

        return $this->publishedAt;
    }
public function getPublishedAt()
    {
        if ($this->status == PageStatus::PUBLISHED && $this->publishedAt === null) {
            $this->setPublishedAt($this->getCreatedAt());
        }

        return $this->publishedAt;
    }
public function getPublishedAt ( ) { if ( $ this -> status == PageStatus :: PUBLISHED && $ this -> publishedAt === null ) { $ this -> setPublishedAt ( $ this -> getCreatedAt ( ) ) ; } return $ this -> publishedAt ; }
Get the published at property.

@return \DateTime
Get the published at property .