Skip to content

Instantly share code, notes, and snippets.

@pjedrzejewski
Created September 14, 2011 20:50
Show Gist options
  • Save pjedrzejewski/1217751 to your computer and use it in GitHub Desktop.
Save pjedrzejewski/1217751 to your computer and use it in GitHub Desktop.
Test gist.
<?php
/*
* This file is part of the Sylius package.
*
* (c) Paweł Jędrzejewski
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Sylius\Bundle\PricingBundle\Resolver;
use Sylius\Bundle\PricingBundle\Model\PriceableInterface;
/**
* Price resolver interface.
*
* @author Paweł Jędrzejewski <[email protected]>
*/
interface PriceResolverInterface
{
/**
* Resolves price for priceable object.
*
* @param $priceable
*/
function resolvePrice(PriceableInterface $priceable);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment