<?php

namespace Enzyme\Axiom\Carriers;

/**
 * Holds a collection of read-only data for instance creation.
 */
interface CarrierInterface
{
    /**
     * Get the associated value for the given key.
     *
     * @param string $key
     *
     * @return mixed
     */
    public function getValueFor($key);
}

<?php

namespace Enzyme\Axiom\Carriers;

/**
 * Holds a collection of read-only data for instance creation.
 */
interface CarrierInterface
{
    /**
     * Get the associated value for the given key.
     *
     * @param string $key
     *
     * @return mixed
     */
    public function getValueFor($key);

    /**
     * Check if there is an associated value for the given key.
     *
     * @param string $key
     *
     * @return mixed
     */
    public function hasValueFor($key);
}

Add has value check method on carrier interface.
Add has value check method on carrier interface.
