public function getRaw($alias, $fallback = '_michaels_no_fallback')
    {
        $item = $this->getIfExists($alias);

        // The item was not found
        if ($item instanceof NoItemFoundMessage) {
            if ($fallback !== '_michaels_no_fallback') {
                $item = $fallback;
            } else {
                throw new ItemNotFoundException("$alias not found");
            }
        }

        return $this->prepareReturnedValue($item);
    }
public function getRaw($alias, $fallback = '_michaels_no_fallback')
    {
        $item = $this->getIfExists($alias);

        // The item was not found
        if ($item instanceof NoItemFoundMessage) {
            if ($fallback !== '_michaels_no_fallback') {
                $item = $fallback;
            } else {
                throw new ItemNotFoundException("$alias not found");
            }
        }

        return $this->prepareReturnedValue($item);
    }
public function getRaw ( $ alias , $ fallback = '_michaels_no_fallback' ) { $ item = $ this -> getIfExists ( $ alias ) ; // The item was not found if ( $ item instanceof NoItemFoundMessage ) { if ( $ fallback !== '_michaels_no_fallback' ) { $ item = $ fallback ; } else { throw new ItemNotFoundException ( "$alias not found" ) ; } } return $ this -> prepareReturnedValue ( $ item ) ; }
Get a single item

@param string $alias
@param string $fallback Defaults to '_michaels_no_fallback' so null can be a fallback
@throws \Michaels\Manager\Exceptions\ItemNotFoundException If item not found
@return mixed
Get a single item