classes/Models/Encoding.php
public function getOutputsValue()
    {
        if ($this->status != 'complete') {
            return;
        }

        $val = $this->getAttributeFromArray('outputs');
        if (is_string($val)) {
            return $this->outputs;
        }

        return $val;
    }
public function getOutputsValue()
    {
        if ($this->status != 'complete') {
            return;
        }

        $val = $this->getAttributeFromArray('outputs');
        if (is_string($val)) {
            return $this->outputs;
        }

        return $val;
    }
public function getOutputsValue ( ) { if ( $ this -> status != 'complete' ) { return ; } $ val = $ this -> getAttributeFromArray ( 'outputs' ) ; if ( is_string ( $ val ) ) { return $ this -> outputs ; } return $ val ; }
Get the outputs value.  I made this to work around an issue where Laravel
was double casting the outputs.  I'm not sure why this was happening after
some lengthy digging but it seemed unique to Encodings on Elements. So I'm
testing whether the attribute value has already been casted.

@return object
Get the outputs value . I made this to work around an issue where Laravel was double casting the outputs . I m not sure why this was happening after some lengthy digging but it seemed unique to Encodings on Elements . So I m testing whether the attribute value has already been casted .