original_string: protected function getArrayAbleAppends()
      {
          if (property_exists($this, 'customAppends')) {
  
              // you can set custom appends array
              if (is_array(self::$customAppends) && count(self::$customAppends))
                  return self::$customAppends;
  
              // or if you want to disable custom appends just write false i.e. Model::$customAppends = false;
              elseif (is_bool(self::$customAppends) && !self::$customAppends)
                  return [];
          }
  
          return parent::getArrayAbleAppends();
      }
code: protected function getArrayAbleAppends()
      {
          if (property_exists($this, 'customAppends')) {
  
              // you can set custom appends array
              if (is_array(self::$customAppends) && count(self::$customAppends))
                  return self::$customAppends;
  
              // or if you want to disable custom appends just write false i.e. Model::$customAppends = false;
              elseif (is_bool(self::$customAppends) && !self::$customAppends)
                  return [];
          }
  
          return parent::getArrayAbleAppends();
      }
code_tokens: protected function getArrayAbleAppends ( ) { if ( property_exists ( $ this , 'customAppends' ) ) { // you can set custom appends array if ( is_array ( self :: $ customAppends ) && count ( self :: $ customAppends ) ) return self :: $ customAppends ; // or if you want to disable custom appends just write false i.e. Model::$customAppends = false; elseif ( is_bool ( self :: $ customAppends ) && ! self :: $ customAppends ) return [ ] ; } return parent :: getArrayAbleAppends ( ) ; }
docstring: Append attribute ignore
  
  @return array
docstring_tokens: Append attribute ignore