PHP Class spec\Sylius\Bundle\CoreBundle\Remover\ReviewerReviewsRemoverSpec

Author: Grzegorz Sadowski ([email protected])
Inheritance: extends PhpSpec\ObjectBehavior
Mostrar archivo Open project: sylius/sylius

Public Methods

Method Description
it_implements_reviewer_reviews_remover_interface ( )
it_is_initializable ( )
it_removes_soft_deleted_customer_reviews_and_recalculates_their_product_ratings ( $averageRatingUpdater, $reviewRepository, $reviewManager, Sylius\Component\Review\Model\ReviewerInterface $author, Sylius\Component\Review\Model\ReviewableInterface $reviewSubject, Sylius\Component\Review\Model\ReviewInterface $review )
let ( EntityRepository $reviewRepository, Doctrine\Common\Persistence\ObjectManager $reviewManager, Sylius\Bundle\ReviewBundle\Updater\ReviewableRatingUpdaterInterface $averageRatingUpdater )

Method Details

it_implements_reviewer_reviews_remover_interface() public method

it_is_initializable() public method

public it_is_initializable ( )

it_removes_soft_deleted_customer_reviews_and_recalculates_their_product_ratings() public method

public it_removes_soft_deleted_customer_reviews_and_recalculates_their_product_ratings ( $averageRatingUpdater, $reviewRepository, $reviewManager, Sylius\Component\Review\Model\ReviewerInterface $author, Sylius\Component\Review\Model\ReviewableInterface $reviewSubject, Sylius\Component\Review\Model\ReviewInterface $review )
$author Sylius\Component\Review\Model\ReviewerInterface
$reviewSubject Sylius\Component\Review\Model\ReviewableInterface
$review Sylius\Component\Review\Model\ReviewInterface

let() public method

public let ( EntityRepository $reviewRepository, Doctrine\Common\Persistence\ObjectManager $reviewManager, Sylius\Bundle\ReviewBundle\Updater\ReviewableRatingUpdaterInterface $averageRatingUpdater )
$reviewRepository Sylius\Bundle\ResourceBundle\Doctrine\ORM\EntityRepository
$reviewManager Doctrine\Common\Persistence\ObjectManager
$averageRatingUpdater Sylius\Bundle\ReviewBundle\Updater\ReviewableRatingUpdaterInterface