public function getFlagsAttribute() : array
    {
        if ($this->flagsArray !== null) {
            return $this->flagsArray;
        }

        return $this->flagsArray = json_decode($this->getAttributeFromArray('flags'), true);
    }
public function getFlagsAttribute() : array
    {
        if ($this->flagsArray !== null) {
            return $this->flagsArray;
        }

        return $this->flagsArray = json_decode($this->getAttributeFromArray('flags'), true);
    }
public function getFlagsAttribute ( ) : array { if ( $ this -> flagsArray !== null ) { return $ this -> flagsArray ; } return $ this -> flagsArray = json_decode ( $ this -> getAttributeFromArray ( 'flags' ) , true ) ; }
Get flags as array

@return array
Get flags as array