<commit_before><?php
/**
 * (c) 2012 Vespolina Project http://www.vespolina-project.org
 *
 * This source file is subject to the MIT license that is bundled
 * with this source code in the file LICENSE.
 */

namespace Vespolina\CartBundle\Model;

/**
 * CartableItemInterface is a generic interface for using a product or service as a cart item
 *
 * @author <NAME> <<EMAIL>>
 * @author <NAME> <<EMAIL>>
 */
interface CartableItemInterface
{
    /**
     * Return the id of the CartableItem
     *
     * @return int id
     */
    function getId();

    /**
     * Return the name of the CartableItem that will be displayed in the cart
     *
     * @return string name
     */
    function getCartableName();

    /**
     * Return the pricing informaton for the item
     *
     * @return mixed
     */
    function getPricing($name);
}<commit_msg>remove name param from getPricing(), that will will into the responsiblity of the handler<commit_after><?php
/**
 * (c) 2012 Vespolina Project http://www.vespolina-project.org
 *
 * This source file is subject to the MIT license that is bundled
 * with this source code in the file LICENSE.
 */

namespace Vespolina\CartBundle\Model;

/**
 * CartableItemInterface is a generic interface for using a product or service as a cart item
 *
 * @author <NAME> <<EMAIL>>
 * @author <NAME> <<EMAIL>>
 */
interface CartableItemInterface
{
    /**
     * Return the id of the CartableItem
     *
     * @return int id
     */
    function getId();

    /**
     * Return the name of the CartableItem that will be displayed in the cart
     *
     * @return string name
     */
    function getCartableName();

    /**
     * Return the pricing informaton for the item
     *
     * @return mixed
     */
    function getPricing();
}
{'fraction_non_alphanumeric': 0.10039481105470953, 'fraction_numerical': 0.0045121263395375075, 'mean_word_length': 2.665289256198347, 'pattern_counts': {'":': 0, '<': 17, '<?xml version=': 0, '>': 15, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '643766', 'n_tokens_mistral': 525, 'n_tokens_neox': 505, 'n_words': 195}