PHP Class Newscoop\GimmeBundle\Serializer\Article\CommentsCountHandler

ファイルを表示 Open project: sourcefabric/newscoop

Protected Properties

Property Type Description
$commentService

Public Methods

Method Description
__construct ( $commentService )
getCommentsCount ( JMS\Serializer\JsonSerializationVisitor $visitor, $data, $type )
getRecomendedCommentsCount ( JMS\Serializer\JsonSerializationVisitor $visitor, $data, $type )

Method Details

__construct() public method

public __construct ( $commentService )

getCommentsCount() public method

public getCommentsCount ( JMS\Serializer\JsonSerializationVisitor $visitor, $data, $type )
$visitor JMS\Serializer\JsonSerializationVisitor

getRecomendedCommentsCount() public method

public getRecomendedCommentsCount ( JMS\Serializer\JsonSerializationVisitor $visitor, $data, $type )
$visitor JMS\Serializer\JsonSerializationVisitor

Property Details

$commentService protected_oe property

protected $commentService