public static function buildAttributes($model)
    {
        $result = [];

        self::buildCastedAttributes($model, $result);
        self::buildSearchAttributes($model, $result);

        return $result;
    }
public static function buildAttributes($model)
    {
        $result = [];

        self::buildCastedAttributes($model, $result);
        self::buildSearchAttributes($model, $result);

        return $result;
    }
public static function buildAttributes ( $ model ) { $ result = [ ] ; self :: buildCastedAttributes ( $ model , $ result ) ; self :: buildSearchAttributes ( $ model , $ result ) ; return $ result ; }
Build a list of all possible attributes.

@return void
Build a list of all possible attributes .