protected function getInfo(ItemEntity $item)
    {
        $filename = self::INFO_FILENAME.'.html';
        if (is_file($item->getPath())) {
            return dirname($item->getPath()).pathinfo($item->getPath(), PATHINFO_FILENAME).'-'.$filename;
        } else {
            return $item->getPath().'/'.$filename;
        }
    }
protected function getInfo(ItemEntity $item)
    {
        $filename = self::INFO_FILENAME.'.html';
        if (is_file($item->getPath())) {
            return dirname($item->getPath()).pathinfo($item->getPath(), PATHINFO_FILENAME).'-'.$filename;
        } else {
            return $item->getPath().'/'.$filename;
        }
    }
protected function getInfo ( ItemEntity $ item ) { $ filename = self :: INFO_FILENAME . '.html' ; if ( is_file ( $ item -> getPath ( ) ) ) { return dirname ( $ item -> getPath ( ) ) . pathinfo ( $ item -> getPath ( ) , PATHINFO_FILENAME ) . '-' . $ filename ; } else { return $ item -> getPath ( ) . '/' . $ filename ; } }
Get info filename

@param \AnimeDb\Bundle\CatalogBundle\Entity\Item $item

@return string
Get info filename