public static function all($data = null, $with = [], $cache = false) { $query = self::parseQuery($data, $with, $cache); $query = self::attachQuery($query); return $query->select($data); }