ModelBundle/DataFixtures/MongoDB/LoadContentData.php
protected function getVersionName(ContentInterface $content)
    {
        $date = new \DateTime("now");

        return $content->getName().'_'. $content->getVersion(). '_'. $date->format("Y-m-d_H:i:s");
    }
protected function getVersionName(ContentInterface $content)
    {
        $date = new \DateTime("now");

        return $content->getName().'_'. $content->getVersion(). '_'. $date->format("Y-m-d_H:i:s");
    }
protected function getVersionName ( ContentInterface $ content ) { $ date = new \ DateTime ( "now" ) ; return $ content -> getName ( ) . '_' . $ content -> getVersion ( ) . '_' . $ date -> format ( "Y-m-d_H:i:s" ) ; }
@param ContentInterface $content

@return string
@param ContentInterface $content