Copied!

AbstractVoter

AbstractVoter.php : 14
Implements VoterInterface

Methods

publicvote()

AbstractVoter.php : 16
public vote(ShippingMethodInterface $method, CartInterface $cart) : bool

Parameters

Name Type Default value Description
$method ShippingMethodInterface - -
$cart CartInterface - -

Return values

bool

protectedgetVote()

AbstractVoter.php : 25
protected abstract getVote(ShippingMethodInterface $method, CartInterface $cart) : bool

Parameters

Name Type Default value Description
$method ShippingMethodInterface - -
$cart CartInterface - -

Return values

bool