public static function findOne($type, $name) { $package = new static($type, $name); $package->load(); return $package; }