App\Models\Store\Product::typeMappings PHP 메소드

typeMappings() 공개 메소드

public typeMappings ( )
    public function typeMappings()
    {
        if ($this->masterProduct) {
            return $this->masterProduct->typeMappings();
        } else {
            return json_decode($this->type_mappings_json, true);
        }
    }